Change #236862
Category | ffmpeg |
Changed by | Andreas Rheinhardt <andreas.rheinhardt | @outlook.com>
Changed at | Tue 17 Jun 2025 00:35:13 |
Repository | https://git.ffmpeg.org/ffmpeg.git |
Project | ffmpeg |
Branch | master |
Revision | ecd7c9244d9e8966ff167d5875f878cdd4ed0c98 |
Comments
avcodec/amfdec,rkmppdec: Use correct extradata with BSFs Otherwise the extradata used would be ISOBMFF if the input is even though we use the *_mp4toannexb BSFs to convert it to annex B to feed it to the actual decoder. (The mediacodec decoders also use said BSFs, yet they process the extradata in a way that works even when using the ISOBMFF extradata; in fact, using the converted extradata would break their check for whether to warn for missing extradata for the ISOBMFF without-in-band-header profiles. Furthermore, there are several users of the *_mp4toannexb BSFs that don't ever touch extradata. They have not been touched.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavcodec/amfdec.c
- libavcodec/decode_bsf.h
- libavcodec/rkmppdec.c