[MPlayer-cvslog] r19187 - trunk/libmpdemux/demux_mpg.c
reimar
subversion at mplayerhq.hu
Wed Jul 26 19:22:01 CEST 2006
Author: reimar
Date: Wed Jul 26 19:22:01 2006
New Revision: 19187
Modified:
trunk/libmpdemux/demux_mpg.c
Log:
Incorrect check in gxf demuxer leading to crash with textKO.gxf sample file
Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c (original)
+++ trunk/libmpdemux/demux_mpg.c Wed Jul 26 19:22:01 2006
@@ -576,7 +576,7 @@
state = state << 8 | buf[pos];
if (unlikely((state | 3) == 0x1bf))
pos = find_end(&buf, pos, demux->stream);
- } while (++pos);
+ } while (++pos < 0);
demux->priv = (void *)state;
len = buf - pack->buffer;
}
More information about the MPlayer-cvslog
mailing list