dca: Move tables used outside of dcadec.c to a separate file.
This commit is contained in:
@ -49,7 +49,6 @@
|
||||
#include "spdif.h"
|
||||
#include "libavcodec/ac3.h"
|
||||
#include "libavcodec/dca.h"
|
||||
#include "libavcodec/dcadata.h"
|
||||
#include "libavcodec/aacadtsdec.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
@ -253,7 +252,7 @@ static int spdif_header_dts(AVFormatContext *s, AVPacket *pkt)
|
||||
case DCA_MARKER_RAW_BE:
|
||||
blocks = (AV_RB16(pkt->data + 4) >> 2) & 0x7f;
|
||||
core_size = ((AV_RB24(pkt->data + 5) >> 4) & 0x3fff) + 1;
|
||||
sample_rate = dca_sample_rates[(pkt->data[8] >> 2) & 0x0f];
|
||||
sample_rate = ff_dca_sample_rates[(pkt->data[8] >> 2) & 0x0f];
|
||||
break;
|
||||
case DCA_MARKER_RAW_LE:
|
||||
blocks = (AV_RL16(pkt->data + 4) >> 2) & 0x7f;
|
||||
|
Reference in New Issue
Block a user