[SCM] libav/experimental: fix probe, patch by Andreas Oman, andreas at olebyn dot nu
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:52:28 UTC 2013
The following commit has been merged in the experimental branch:
commit 487240b026d00b66c19be75d4502cd1eb153cb8a
Author: Andreas Öman <andreas at olebyn.nu>
Date: Sat Oct 21 11:08:39 2006 +0000
fix probe, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c
index d252326..4bd1cda 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 */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list