[FFmpeg-devel] [PATCH v2 33/69] avcodec/mpegvideo_enc: Don't set picture_in_gop_number for slice threads

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 1 15:06:30 EET 2022


They don't ever read this value.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/mpegvideo_enc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 77825e5b82..fd3f458fb7 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -262,7 +262,6 @@ static void update_duplicate_context_after_me(MPVEncContext *dst,
     COPY(qscale);
     COPY(lambda);
     COPY(lambda2);
-    COPY(picture_in_gop_number);
     COPY(frame_pred_frame_dct); // FIXME don't set in encode_header
     COPY(progressive_frame);    // FIXME don't set in encode_header
     COPY(partitioned_frame);    // FIXME don't set in encode_header
-- 
2.32.0



More information about the ffmpeg-devel mailing list