Commit 21d47ec4 authored by bcoudurier's avatar bcoudurier

fix probe, patch by Andreas Oman, andreas at olebyn dot nu

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6751 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 56257e4f
......@@ -68,7 +68,7 @@ static int seq_probe(AVProbeData *p)
/* there's no real header in a .seq file, the only thing they have in common */
/* is the first 256 bytes of the file which are always filled with 0 */
for (i = 0; i < 256; i++)
if (p->buf[0] != 0)
if (p->buf[i] != 0)
return 0;
/* only one fourth of the score since the previous check is too naive */
......
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