aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-08-02 09:59:10 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-08-02 09:59:10 +0000
commit0019b662aece0e548115141765acb524c83ee7d3 (patch)
tree578f52a2aec94f0fdc89d04d40e1d025eccc8663 /libavformat/gxf.c
parent20dd25adc3595c60c7215504a4df9db64e17dabc (diff)
downloadffmpeg-0019b662aece0e548115141765acb524c83ee7d3.tar.gz
Minor resync optimization
Originally committed as revision 5888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c2
1 files changed, 1 insertions, 1 deletions
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();