[FFmpeg-devel] [PATCH] avformat/aacdec: don't immediately abort if an ADTS frame is not found

Marton Balint cus at passwd.hu
Tue Sep 5 21:52:33 EEST 2017


On Sun, 3 Sep 2017, James Almer wrote:

> Skip the invalid data in an attempt to find one instead, and continue decoding from there.
>
> Fixes ticket #6634

If you skipped some broken ADTS frames, which were previously reported 
errnous, then can you signal that somehow? 
(E.g. by setting AVFrame->decode_error_flags on the next frame, or adding 
AV_FRAME_FLAG_CORRUPT flag to the next returned frame?)

Thanks,
Marton


More information about the ffmpeg-devel mailing list