# HG changeset patch # User reimar # Date 1170888702 0 # Node ID e77907af90570c2f76801bf32a4c431c4dacd135 # Parent cb8b538021cdafee455a324ffe801bcd254a95c6 10l, forgot to skip payload description in UMF packet parsing diff -r cb8b538021cd -r e77907af9057 gxf.c --- a/gxf.c Wed Feb 07 22:26:48 2007 +0000 +++ b/gxf.c Wed Feb 07 22:51:42 2007 +0000 @@ -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