From 0019b662aece0e548115141765acb524c83ee7d3 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Wed, 2 Aug 2006 09:59:10 +0000 Subject: Minor resync optimization Originally committed as revision 5888 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gxf.c') diff --git a/libavformat/gxf.c b/libavformat/gxf.c index d247e2fb97..26c3fc1c0f 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -401,7 +401,7 @@ static int64_t gxf_resync_media(AVFormatContext *s, uint64_t max_interval, int t int len; ByteIOContext *pb = &s->pb; pkt_type_t type; - tmp = 0xff; + tmp = get_be32(pb); start: while (tmp) READ_ONE(); -- cgit v1.2.3