Commit e31d863e authored by Michael Niedermayer's avatar Michael Niedermayer

pts fix / b frame segfault fix

Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2de28abb
...@@ -794,6 +794,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -794,6 +794,7 @@ static void do_video_out(AVFormatContext *s,
}else }else
big_picture.quality = ost->st->quality; big_picture.quality = ost->st->quality;
big_picture.pict_type = 0; big_picture.pict_type = 0;
big_picture.pts = AV_NOPTS_VALUE; //FIXME
ret = avcodec_encode_video(enc, ret = avcodec_encode_video(enc,
video_buffer, VIDEO_BUFFER_SIZE, video_buffer, VIDEO_BUFFER_SIZE,
&big_picture); &big_picture);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment