mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue