comparison libmpdemux/demux_lavf.c @ 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 3544ba7244bf
comparison
equal deleted inserted replaced
32765:7671dfbf53fc 32766:f6c832aedcb1
136 } 136 }
137 137
138 static void list_formats(void) { 138 static void list_formats(void) {
139 AVInputFormat *fmt; 139 AVInputFormat *fmt;
140 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf input formats:\n"); 140 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf input formats:\n");
141 for (fmt = first_iformat; fmt; fmt = fmt->next) 141 for (fmt = av_iformat_next(NULL); fmt; av_iformat_next(fmt))
142 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name); 142 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name);
143 } 143 }
144 144
145 static int lavf_check_file(demuxer_t *demuxer){ 145 static int lavf_check_file(demuxer_t *demuxer){
146 AVProbeData avpd; 146 AVProbeData avpd;