Mercurial > libavformat.hg
diff mpeg.c @ 2001:1a3c9056982a libavformat
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
author | michael |
---|---|
date | Sun, 08 Apr 2007 11:34:15 +0000 |
parents | eb16c64144ee |
children | a3e79d6e4e3c |
line wrap: on
line diff
--- a/mpeg.c Sun Apr 08 09:50:08 2007 +0000 +++ b/mpeg.c Sun Apr 08 11:34:15 2007 +0000 @@ -1260,8 +1260,6 @@ static int cdxa_probe(AVProbeData *p) { /* check file header */ - if (p->buf_size <= 32) - return 0; if (p->buf[0] == 'R' && p->buf[1] == 'I' && p->buf[2] == 'F' && p->buf[3] == 'F' && p->buf[8] == 'C' && p->buf[9] == 'D' &&