aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-05-13 12:48:31 +0300
committerJames Almer <jamrial@gmail.com>2016-05-31 11:45:49 -0300
commit054a2c9fdf64f0fcac17dfa424492e9184002dc3 (patch)
tree85b32950200892f1344355fb20a71cf7e767f3d6 /libavcodec/dca.c
parentd1f558b3628d3ab99fd93a98b5758ef1be45a5da (diff)
downloadffmpeg-054a2c9fdf64f0fcac17dfa424492e9184002dc3.tar.gz
avcodec/dca: support EXSS marker in avpriv_dca_convert_bitstream()
This is now required by dcadec_decode_frame(). All remaining users of avpriv_dca_convert_bitstream() have been updated to expect EXSS marker. Signed-off-by: James Almer <jamrial@gmail.com>
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 f11c73c13a..58f340e6da 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -58,6 +58,7 @@ int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
mrk = AV_RB32(src);
switch (mrk) {
case DCA_SYNCWORD_CORE_BE:
+ case DCA_SYNCWORD_SUBSTREAM:
memcpy(dst, src, src_size);
return src_size;
case DCA_SYNCWORD_CORE_LE: