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

reimar subversion at mplayerhq.hu
Sat Feb 5 14:55:48 CET 2011


Author: reimar
Date: Sat Feb  5 14:55:48 2011
New Revision: 32853

Log:
Use av_iformat_next instead of first_iformat to conform with new FFmpeg API.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Sat Feb  5 14:53:10 2011	(r32852)
+++ trunk/libmpdemux/demux_lavf.c	Sat Feb  5 14:55:48 2011	(r32853)
@@ -138,7 +138,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 = first_iformat; fmt; fmt = fmt->next)
+    for (fmt = av_iformat_next(NULL); 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