changeset 33193:63e07c08041a

Avoid using first_oformat, use av_oformat_next() instead.
author reimar
date Fri, 22 Apr 2011 06:31:04 +0000
parents 107d32318fa0
children 5d84566f9143
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Fri Apr 22 06:28:43 2011 +0000
+++ b/libmpdemux/muxer_lavf.c	Fri Apr 22 06:31:04 2011 +0000
@@ -308,7 +308,7 @@
 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);
 }