1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-28 16:02:17 +02:00

Minor resync optimization

Originally committed as revision 5888 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2006-08-02 09:59:10 +00:00
parent 20dd25adc3
commit 0019b662ae

View File

@ -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();