Mercurial > libavformat.hg
diff au.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 | 3ffb9763dfc2 |
children | b21c2af60bc9 |
line wrap: on
line diff
--- a/au.c Sun Apr 08 09:50:08 2007 +0000 +++ b/au.c Sun Apr 08 11:34:15 2007 +0000 @@ -103,8 +103,6 @@ static int au_probe(AVProbeData *p) { /* check file header */ - if (p->buf_size <= 24) - return 0; if (p->buf[0] == '.' && p->buf[1] == 's' && p->buf[2] == 'n' && p->buf[3] == 'd') return AVPROBE_SCORE_MAX;