You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/svq1enc: Set MpegEncContext.avctx only once
It is already set during init. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -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] =
|
||||
|
Reference in New Issue
Block a user