[Ffmpeg-cvslog] r7537 - trunk/libavformat/avidec.c

michael subversion
Mon Jan 15 23:56:47 CET 2007


Author: michael
Date: Mon Jan 15 23:56:46 2007
New Revision: 7537

Modified:
   trunk/libavformat/avidec.c

Log:
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi


Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c	(original)
+++ trunk/libavformat/avidec.c	Mon Jan 15 23:56:46 2007
@@ -397,7 +397,7 @@
             break;
         case MKTAG('s', 't', 'r', 'f'):
             /* stream header */
-            if (stream_index >= s->nb_streams || avi->dv_demux) {
+            if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) {
                 url_fskip(pb, size);
             } else {
                 st = s->streams[stream_index];




More information about the ffmpeg-cvslog mailing list