Change #238248
Category | ffmpeg |
Changed by | Andreas Rheinhardt <andreas.rheinhardt | @outlook.com>
Changed at | Thu 03 Jul 2025 20:34:51 |
Repository | https://git.ffmpeg.org/ffmpeg.git |
Project | ffmpeg |
Branch | master |
Revision | 758c8dffc922184be9a11f14191ce3e243681fc9 |
Comments
avcodec/{h263,mpeg4video}dec: Pass MPVContext*, not Mpeg4DecContext* The code in h263dec.c is not supposed to know that the MPEG-4 decoder uses an Mpeg4DecContext as private context at all (said context is only exposed in a header so that hardware accelerations can access it and for the parser to use). Passing an MPVContext* directly also allows to remove the indirection via AVCodecContext.priv_data. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavcodec/h263dec.c
- libavcodec/ituh263dec.c
- libavcodec/mpeg4videodec.c
- libavcodec/mpeg4videodec.h