[MPlayer-cvslog] r33280 - trunk/libmpdemux/muxer_lavf.c

reimar subversion at mplayerhq.hu
Fri Apr 22 08:31:04 CEST 2011


Author: reimar
Date: Fri Apr 22 08:31:04 2011
New Revision: 33280

Log:
Avoid using first_oformat, use av_oformat_next() instead.

Modified:
   trunk/libmpdemux/muxer_lavf.c

Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c	Fri Apr 22 08:28:43 2011	(r33279)
+++ trunk/libmpdemux/muxer_lavf.c	Fri Apr 22 08:31:04 2011	(r33280)
@@ -308,7 +308,7 @@ static void write_trailer(muxer_t *muxer
 static void list_formats(void) {
 	AVOutputFormat *fmt;
 	mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf output formats:\n");
-	for (fmt = first_oformat; fmt; fmt = fmt->next)
+	for (fmt = av_oformat_next(NULL); fmt; fmt = av_oformat_next(fmt))
 		mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name);
 }
 


More information about the MPlayer-cvslog mailing list