summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-18 13:43:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-18 13:43:23 +0000
commite31d863ede97aa458de17d3a718265d8e5572af3 (patch)
tree719e97e1c6e50828d1746b3ce38945e78bc149ce /ffmpeg.c
parent2de28abbfd3d4d7a8cd5a6c04a35273945049dc2 (diff)
pts fix / b frame segfault fix
Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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);