[FFmpeg-cvslog] avcodec/mpegvideo_enc: Don't sync gop_picture_number among slice threads

Andreas Rheinhardt git at videolan.org
Sat Jan 29 21:02:40 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Jan 25 14:38:04 2022 +0100| [b90ea35182a04ba79e5d77f732bbcd50f1281dfb] | committer: Andreas Rheinhardt

avcodec/mpegvideo_enc: Don't sync gop_picture_number among slice threads

It is only used by the main thread.

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

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

 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



More information about the ffmpeg-cvslog mailing list