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:
parent
4b7f1595cc
commit
83ddf99267
1 changed files with 0 additions and 1 deletions
|
|
@ -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] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue