[FFmpeg-devel] [PATCH 16/21] avcodec/mpegvideo_enc: Don't sync gop_picture_number among slice threads

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Jan 25 19:41:43 EET 2022


It is only used by the main thread.

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 35f0f79d4e..93deded66c 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -258,7 +258,6 @@ static void update_duplicate_context_after_me(MpegEncContext *dst,
     COPY(lambda);
     COPY(lambda2);
     COPY(picture_in_gop_number);
-    COPY(gop_picture_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