mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
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:
parent
f5220475de
commit
18f7d8d880
@ -1141,8 +1141,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg)
|
||||
}
|
||||
}
|
||||
|
||||
if (!pic_arg->buf[0] ||
|
||||
pic_arg->linesize[0] != s->linesize ||
|
||||
if (pic_arg->linesize[0] != s->linesize ||
|
||||
pic_arg->linesize[1] != s->uvlinesize ||
|
||||
pic_arg->linesize[2] != s->uvlinesize)
|
||||
direct = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user