From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 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@outlook.com> --- 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 -- ffmpeg-codebot