aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-09 20:55:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-09 20:55:09 +0000
commit6e6cf116d8b00ce10b54679d36dfcd928629b3bb (patch)
treeb8eae1f243c8e8cb3041f410846f86a4a9f345f5
parent34f8cc3802aa8b43b3c08bb0d9e3de08012feed9 (diff)
downloadffmpeg-6e6cf116d8b00ce10b54679d36dfcd928629b3bb.tar.gz
100l
Originally committed as revision 10030 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 6896ead4ce..8475865504 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -277,7 +277,7 @@ static int write_streamheader(NUTContext *nut, ByteIOContext *bc, AVCodecContext
}else
return -1;
- put_v(bc, (nut->stream[i].time_base - nut->time_base)/sizeof(AVRational));
+ put_v(bc, nut->stream[i].time_base - nut->time_base);
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);