aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-31 20:09:23 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-01 00:17:17 +0200
commit9e4bca16f89bc12c58b58f4611d580a30d5f9638 (patch)
tree79a83fbc3226c5739fb2931f1dce0a566c36fa4f /libavformat/spdifenc.c
parent13a79cf84e073d0ca8489047660352eee216d059 (diff)
downloadffmpeg-9e4bca16f89bc12c58b58f4611d580a30d5f9638.tar.gz
dca: Move tables used outside of dcadec.c to a separate file.
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r--libavformat/spdifenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index b25c7fa722..c563008b2e 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -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;