diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-06-13 00:37:27 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-06-21 22:08:52 +0200 |
commit | 83ddf99267c03e49140b2468fc4635b36a7dcf64 (patch) | |
tree | 0469c9795c3d3fd4c790419ca8dfc89569b386f8 | |
parent | 4b7f1595ccb57b747445184a8cf550c56c51aa90 (diff) | |
download | ffmpeg-83ddf99267c03e49140b2468fc4635b36a7dcf64.tar.gz |
avcodec/svq1enc: Set MpegEncContext.avctx only once
It is already set during init.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/svq1enc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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] = |