From e31d863ede97aa458de17d3a718265d8e5572af3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 18 Apr 2004 13:43:23 +0000 Subject: [PATCH] pts fix / b frame segfault fix Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index 689e6c0bf2..c035cc30d2 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -794,6 +794,7 @@ static void do_video_out(AVFormatContext *s, }else big_picture.quality = ost->st->quality; big_picture.pict_type = 0; + big_picture.pts = AV_NOPTS_VALUE; //FIXME ret = avcodec_encode_video(enc, video_buffer, VIDEO_BUFFER_SIZE, &big_picture);