changeset 1221:ad456312dd5e libavformat

Minor resync optimization
author reimar
date Wed, 02 Aug 2006 09:59:10 +0000
parents ea469913fb68
children a1ca540b2f00
files gxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gxf.c	Wed Aug 02 09:48:05 2006 +0000
+++ b/gxf.c	Wed Aug 02 09:59:10 2006 +0000
@@ -401,7 +401,7 @@
     int len;
     ByteIOContext *pb = &s->pb;
     pkt_type_t type;
-    tmp = 0xff;
+    tmp = get_be32(pb);
 start:
     while (tmp)
         READ_ONE();