[FFmpeg-devel] [PATCH 09/10] avcodec/dca: support EXSS marker in avpriv_dca_convert_bitstream()
James Almer
jamrial at gmail.com
Tue May 31 16:47:42 CEST 2016
On 5/13/2016 6:48 AM, foo86 wrote:
> This is now required by dcadec_decode_frame(). All remaining users of
> avpriv_dca_convert_bitstream() have been updated to expect EXSS marker.
> ---
> libavcodec/dca.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/dca.c b/libavcodec/dca.c
> index 714509b..147d4cc 100644
> --- a/libavcodec/dca.c
> +++ b/libavcodec/dca.c
> @@ -49,6 +49,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:
Applied.
More information about the ffmpeg-devel
mailing list