diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-09 11:06:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-09 11:06:54 +0000 |
commit | e999435a604766e858bb49c102f18484613ef626 (patch) | |
tree | 3a3b87a35cf34b198dae404f4b915d6f291a48a4 | |
parent | efd8f22a167197fbaf2b23fb29bf7096fade65e4 (diff) | |
download | ffmpeg-e999435a604766e858bb49c102f18484613ef626.tar.gz |
write correct time_base
Originally committed as revision 10011 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 5e7becaf68..bc9a81fd7f 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -343,7 +343,7 @@ static int write_header(AVFormatContext *s){ }else return -1; - put_v(bc, 0); //FIXME + put_v(bc, (nut->stream[i].time_base - nut->time_base)/sizeof(AVRational)); put_v(bc, nut->stream[i].msb_pts_shift); put_v(bc, nut->stream[i].max_pts_distance); put_v(bc, codec->has_b_frames); |