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>
pull/216/head
foo86 9 years ago committed by James Almer
parent d1f558b362
commit 054a2c9fdf
  1. 1
      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:

Loading…
Cancel
Save