# HG changeset patch # User reimar # Date 1296914148 0 # Node ID f6c832aedcb1d4212da1522e59b45a81e38cc04c # Parent 7671dfbf53fc56ded8505850d401691a9fd81685 Use av_iformat_next instead of first_iformat to conform with new FFmpeg API. diff -r 7671dfbf53fc -r f6c832aedcb1 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sat Feb 05 13:53:10 2011 +0000 +++ b/libmpdemux/demux_lavf.c Sat Feb 05 13:55:48 2011 +0000 @@ -138,7 +138,7 @@ 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); }