From 487240b026d00b66c19be75d4502cd1eb153cb8a Mon Sep 17 00:00:00 2001 From: Andreas Ă–man Date: Sat, 21 Oct 2006 11:08:39 +0000 Subject: fix probe, patch by Andreas Oman, andreas at olebyn dot nu Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tiertexseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tiertexseq.c') diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c index d252326208..4bd1cda06d 100644 --- a/libavformat/tiertexseq.c +++ b/libavformat/tiertexseq.c @@ -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 */ -- cgit v1.2.3