[Ffmpeg-cvslog] r7878 - trunk/libavformat/gxf.c

reimar subversion
Wed Feb 7 23:51:42 CET 2007


Author: reimar
Date: Wed Feb  7 23:51:42 2007
New Revision: 7878

Modified:
   trunk/libavformat/gxf.c

Log:
10l, forgot to skip payload description in UMF packet parsing


Modified: trunk/libavformat/gxf.c
==============================================================================
--- trunk/libavformat/gxf.c	(original)
+++ trunk/libavformat/gxf.c	Wed Feb  7 23:51:42 2007
@@ -360,10 +360,11 @@
         }
     }
     if (pkt_type == PKT_UMF) {
-        if (len >= 9) {
+        if (len >= 0x39) {
             AVRational fps;
-            len -= 9;
-            url_fskip(pb, 5);
+            len -= 0x39;
+            url_fskip(pb, 5); // preamble
+            url_fskip(pb, 0x30); // payload description
             fps = fps_umf2avr(get_le32(pb));
             if (!main_timebase.num || !main_timebase.den) {
                 // this may not always be correct, but simply the best we can get




More information about the ffmpeg-cvslog mailing list