Mercurial > mplayer.hg
changeset 32766:f6c832aedcb1
Use av_iformat_next instead of first_iformat to conform with new FFmpeg API.
author | reimar |
---|---|
date | Sat, 05 Feb 2011 13:55:48 +0000 |
parents | 7671dfbf53fc |
children | 414aaa8b9357 |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }