[MPlayer-cvslog] r34004 - trunk/libmpdemux/demux_lavf.c

cehoyos subversion at mplayerhq.hu
Sat Aug 20 10:18:37 CEST 2011


Author: cehoyos
Date: Sat Aug 20 10:18:36 2011
New Revision: 34004

Log:
Fix infinite loop in '-demuxer lavf -lavfdopts format=help'

Patch by Colin Watson, cjwatson ubuntu com

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Fri Aug 19 20:36:14 2011	(r34003)
+++ trunk/libmpdemux/demux_lavf.c	Sat Aug 20 10:18:36 2011	(r34004)
@@ -140,7 +140,7 @@ static int64_t mp_read_seek(void *opaque
 static void list_formats(void) {
     AVInputFormat *fmt;
     mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf input formats:\n");
-    for (fmt = av_iformat_next(NULL); fmt; av_iformat_next(fmt))
+    for (fmt = av_iformat_next(NULL); fmt; fmt = av_iformat_next(fmt))
         mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name);
 }
 


More information about the MPlayer-cvslog mailing list