Commit 054a2c9f authored by foo86's avatar foo86 Committed by James Almer

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: 's avatarJames Almer <jamrial@gmail.com>
parent d1f558b3
...@@ -58,6 +58,7 @@ int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst, ...@@ -58,6 +58,7 @@ int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
mrk = AV_RB32(src); mrk = AV_RB32(src);
switch (mrk) { switch (mrk) {
case DCA_SYNCWORD_CORE_BE: case DCA_SYNCWORD_CORE_BE:
case DCA_SYNCWORD_SUBSTREAM:
memcpy(dst, src, src_size); memcpy(dst, src, src_size);
return src_size; return src_size;
case DCA_SYNCWORD_CORE_LE: case DCA_SYNCWORD_CORE_LE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment