[FFmpeg-cvslog] r10031 - trunk/libavformat/nutenc.c

michael subversion
Thu Aug 9 22:56:42 CEST 2007


Author: michael
Date: Thu Aug  9 22:56:42 2007
New Revision: 10031

Log:
put_t()


Modified:
   trunk/libavformat/nutenc.c

Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c	(original)
+++ trunk/libavformat/nutenc.c	Thu Aug  9 22:56:42 2007
@@ -154,6 +154,12 @@ static void put_v(ByteIOContext *bc, uin
     put_byte(bc, val&127);
 }
 
+static void put_t(NUTContext *nut, StreamContext *nus, ByteIOContext *bc, uint64_t val){
+    val *= nut->time_base_count;
+    val += nus->time_base - nut->time_base;
+    put_v(bc, val);
+}
+
 /**
  * stores a string as vb.
  */




More information about the ffmpeg-cvslog mailing list