pts fix / b frame segfault fix

Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-04-18 13:43:23 +00:00
parent 2de28abbfd
commit e31d863ede

View File

@ -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);