100l
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Aug 2007 20:55:09 +0000 (20:55 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Aug 2007 20:55:09 +0000 (20:55 +0000)
Originally committed as revision 10030 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nutenc.c

index 6896ead..8475865 100644 (file)
@@ -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);