From 0723fcce51f876d8284f3d7361e4562ac360f464 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 15 Jun 2025 23:06:40 +0200 Subject: [PATCH] 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 --- 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