ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Fri Jun 13 00:37:27 2025 +0200| [83ddf99267c03e49140b2468fc4635b36a7dcf64] | 
committer: Andreas Rheinhardt

avcodec/svq1enc: Set MpegEncContext.avctx only once

It is already set during init.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

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

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

diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index cdcf1de712..0caed73097 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -320,7 +320,6 @@ static int svq1_encode_plane(SVQ1EncContext *s, int plane,
     block_height = (height + 15) / 16;
 
     if (s->pict_type == AV_PICTURE_TYPE_P) {
-        s2->avctx                         = s->avctx;
         s2->last_pic.data[0]        = ref_plane;
         s2->linesize                      =
         s2->last_pic.linesize[0]    =

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to