[FFmpeg-cvslog] avcodec/mpegvideo: Add MPVContext typedef

Andreas Rheinhardt git at videolan.org
Thu Jul 3 21:55:15 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jun 15 23:06:40 2025 +0200| [0723fcce51f876d8284f3d7361e4562ac360f464] | committer: Andreas Rheinhardt

avcodec/mpegvideo: Add MPVContext typedef

MpegEncContext is also used for decoding, so it is a misnomer.
This commit therefore adds MPVContext as typedef for it in order
to gradually switch the code to the new name (in line with
MPVEncContext).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0723fcce51f876d8284f3d7361e4562ac360f464
---

 libavcodec/mpegvideo.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 4ff5e8906d..fe3ae97f5d 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -332,6 +332,7 @@ typedef struct MpegEncContext {
     ERContext er;
 } MpegEncContext;
 
+typedef MpegEncContext MPVContext;
 
 /**
  * Set the given MpegEncContext to common defaults (same for encoding



More information about the ffmpeg-cvslog mailing list