diff options
author | Andreas Ă–man <andreas@olebyn.nu> | 2006-10-21 15:08:39 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-21 15:08:39 +0400 |
commit | 487240b026d00b66c19be75d4502cd1eb153cb8a (patch) | |
tree | 3471626500eed70e2d9516ed590dc4ed443b404b /libavformat/tiertexseq.c | |
parent | e08f5806444afec09b169f49b0e3bc1eb94da880 (diff) |
fix probe, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tiertexseq.c')
-rw-r--r-- | libavformat/tiertexseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |