Mercurial > mplayer.hg
comparison libmpdemux/muxer_lavf.c @ 33193:63e07c08041a
Avoid using first_oformat, use av_oformat_next() instead.
author | reimar |
---|---|
date | Fri, 22 Apr 2011 06:31:04 +0000 |
parents | 3544ba7244bf |
children | 5d84566f9143 |
comparison
equal
deleted
inserted
replaced
33192:107d32318fa0 | 33193:63e07c08041a |
---|---|
306 } | 306 } |
307 | 307 |
308 static void list_formats(void) { | 308 static void list_formats(void) { |
309 AVOutputFormat *fmt; | 309 AVOutputFormat *fmt; |
310 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf output formats:\n"); | 310 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf output formats:\n"); |
311 for (fmt = first_oformat; fmt; fmt = fmt->next) | 311 for (fmt = av_oformat_next(NULL); fmt; fmt = av_oformat_next(fmt)) |
312 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name); | 312 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name); |
313 } | 313 } |
314 | 314 |
315 int muxer_init_muxer_lavf(muxer_t *muxer) | 315 int muxer_init_muxer_lavf(muxer_t *muxer) |
316 { | 316 { |