Browse Source

ffmpeg: Fix null pointer dereference in do_video_out()

Fixes: CID1295087

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
93db2708d3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ffmpeg.c

+ 3
- 0
ffmpeg.c 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


Loading…
Cancel
Save