avcodec/mpegvideo_enc: Don't pretend input to be non-refcounted
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -1141,8 +1141,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pic_arg->buf[0] ||
|
if (pic_arg->linesize[0] != s->linesize ||
|
||||||
pic_arg->linesize[0] != s->linesize ||
|
|
||||||
pic_arg->linesize[1] != s->uvlinesize ||
|
pic_arg->linesize[1] != s->uvlinesize ||
|
||||||
pic_arg->linesize[2] != s->uvlinesize)
|
pic_arg->linesize[2] != s->uvlinesize)
|
||||||
direct = 0;
|
direct = 0;
|
||||||
|
Reference in New Issue
Block a user