Commit 487240b0 authored by Andreas Öman's avatar Andreas Öman Committed by Baptiste Coudurier

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

Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e08f5806
......@@ -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