[FFmpeg-cvslog] avcodec/mpegvideo_enc: Don't set picture_in_gop_number for slice threads

Andreas Rheinhardt git at videolan.org
Sun Feb 13 21:25:57 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Jan 29 04:30:48 2022 +0100| [6c2ce1695485b73599afada454653889047580e7] | committer: Andreas Rheinhardt

avcodec/mpegvideo_enc: Don't set picture_in_gop_number for slice threads

They don't ever read this value.

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

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

 libavcodec/mpegvideo_enc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 56d41314e7..8d2acdc5b1 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -260,7 +260,6 @@ static void update_duplicate_context_after_me(MpegEncContext *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



More information about the ffmpeg-cvslog mailing list