mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
fix probe, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e08f580644
commit
487240b026
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user