Fixes: CID1295087
Unified · Split
| @@ -1031,6 +1031,9 @@ static void do_video_out(AVFormatContext *s, · 1030 unmodified lines | |||
| 1031 | } else | 1031 | } else |
| 1032 | in_picture = next_picture; | 1032 | in_picture = next_picture; |
| 1033 | 1033 | ||
| 1034 | if (!in_picture) | ||
| 1035 | return; | ||
| 1036 | |||
| 1034 | in_picture->pts = ost->sync_opts; | 1037 | in_picture->pts = ost->sync_opts; |
| 1035 | 1038 | ||
| 1036 | #if 1 | 1039 | #if 1 |