changeset 1405:f88bcfcc2f50 libavformat

fix probe, patch by Andreas Oman, andreas at olebyn dot nu
author bcoudurier
date Sat, 21 Oct 2006 11:08:39 +0000
parents 53803884feb7
children c7d4c4279fb7
files tiertexseq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tiertexseq.c	Fri Oct 20 13:06:50 2006 +0000
+++ b/tiertexseq.c	Sat Oct 21 11:08:39 2006 +0000
@@ -68,7 +68,7 @@
     /* 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 */