Commit 1c2e8225 authored by reimar's avatar reimar

Minor resync optimization


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5888 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 699f7b02
...@@ -401,7 +401,7 @@ static int64_t gxf_resync_media(AVFormatContext *s, uint64_t max_interval, int t ...@@ -401,7 +401,7 @@ static int64_t gxf_resync_media(AVFormatContext *s, uint64_t max_interval, int t
int len; int len;
ByteIOContext *pb = &s->pb; ByteIOContext *pb = &s->pb;
pkt_type_t type; pkt_type_t type;
tmp = 0xff; tmp = get_be32(pb);
start: start:
while (tmp) while (tmp)
READ_ONE(); READ_ONE();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment