OSDN Git Service

pts fix / b frame segfault fix
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 18 Apr 2004 13:43:23 +0000 (13:43 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 18 Apr 2004 13:43:23 +0000 (13:43 +0000)
Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 689e6c0..c035cc3 100644 (file)
--- 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);