mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
d1f558b362
commit
054a2c9fdf
|
@ -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…
Reference in New Issue