diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-19 22:42:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-19 23:44:19 +0200 |
commit | 93db2708d3b0bcc1f1d87d23ae8adbedd8ea6660 (patch) | |
tree | bf0ce9bba3a48d0d653697ffa20742dbae550d1c | |
parent | 0cab0931dcf23e3ac111649b16a5efadf7285ac6 (diff) | |
download | ffmpeg-93db2708d3b0bcc1f1d87d23ae8adbedd8ea6660.tar.gz |
ffmpeg: Fix null pointer dereference in do_video_out()
Fixes: CID1295087
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |