# HG changeset patch # User reimar # Date 1303453864 0 # Node ID 63e07c08041a670e8a91eccc72f032108cf04b74 # Parent 107d32318fa03e5dd214d1bad73a51f27e4d689f Avoid using first_oformat, use av_oformat_next() instead. diff -r 107d32318fa0 -r 63e07c08041a libmpdemux/muxer_lavf.c --- 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); }