diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2010-10-02 22:18:02 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2010-10-02 22:18:02 +0000 |
commit | 62784e3733ceb0f58007db8bb2e41e1abf62b85e (patch) | |
tree | 6bdcb530369c326b004fc78c8bcce3c8bfb9e5e9 /libavcodec/dca.c | |
parent | ae8c28db87c5bfb5721a91014a657e56983c6c57 (diff) | |
download | ffmpeg-62784e3733ceb0f58007db8bb2e41e1abf62b85e.tar.gz |
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.c | 1 |
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, }; |