summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2010-10-02 22:18:02 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2010-10-02 22:18:02 +0000
commit62784e3733ceb0f58007db8bb2e41e1abf62b85e (patch)
tree6bdcb530369c326b004fc78c8bcce3c8bfb9e5e9 /libavcodec/dca.c
parentae8c28db87c5bfb5721a91014a657e56983c6c57 (diff)
Add the CODEC_CAP_CHANNEL_CONF capability code and add
that flag to the dca codec. This capability when set will make sure the codec will initialize the channel configuration instead of trusting the container. This fixes issue 2137 and issue 850. Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index e8627a23d9..afd55bb075 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -1500,4 +1500,5 @@ AVCodec dca_decoder = {
.decode = dca_decode_frame,
.close = dca_decode_end,
.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
+ .capabilities = CODEC_CAP_CHANNEL_CONF,
};