Mercurial > mplayer.hg
diff libmpdemux/muxer_lavf.c @ 33871:30f5e5cd3676
Move code for setting up libav* logging callbacks from vd_ffmpeg to a
separate file and also use it when only initializing libavformat.
author | reimar |
---|---|
date | Tue, 09 Aug 2011 19:57:00 +0000 |
parents | 5d84566f9143 |
children | f27fe61c62f7 |
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c Tue Aug 09 19:23:41 2011 +0000 +++ b/libmpdemux/muxer_lavf.c Tue Aug 09 19:57:00 2011 +0000 @@ -29,6 +29,7 @@ #include "aviheader.h" #include "ms_hdr.h" #include "av_opts.h" +#include "av_helpers.h" #include "stream/stream.h" #include "muxer.h" @@ -317,7 +318,7 @@ muxer_priv_t *priv; AVOutputFormat *fmt = NULL; - av_register_all(); + init_avformat(); if (conf_format && strcmp(conf_format, "help") == 0) { list_formats();