changeset 33916:7941d02c012b

Fix infinite loop in '-demuxer lavf -lavfdopts format=help' Patch by Colin Watson, cjwatson ubuntu com
author cehoyos
date Sat, 20 Aug 2011 08:18:36 +0000
parents 82b5070214cc
children da037b5d9ede
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Fri Aug 19 18:36:14 2011 +0000
+++ b/libmpdemux/demux_lavf.c	Sat Aug 20 08:18:36 2011 +0000
@@ -140,7 +140,7 @@
 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);
 }