Browse Source

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

Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Andreas Öman Baptiste Coudurier 19 years ago
parent
commit
487240b026
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tiertexseq.c

+ 1
- 1
libavformat/tiertexseq.c View File

@@ -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 */ /* 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 */ /* is the first 256 bytes of the file which are always filled with 0 */
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)
if (p->buf[0] != 0)
if (p->buf[i] != 0)
return 0; return 0;


/* only one fourth of the score since the previous check is too naive */ /* only one fourth of the score since the previous check is too naive */


Loading…
Cancel
Save