ffmpeg: Fix null pointer dereference in do_video_out()

Fixes: CID1295087

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-04-19 22:42:54 +02:00
parent 0cab0931dc
commit 93db2708d3

View File

@ -1031,6 +1031,9 @@ static void do_video_out(AVFormatContext *s,
} else
in_picture = next_picture;
if (!in_picture)
return;
in_picture->pts = ost->sync_opts;
#if 1