Call avcodec_init()

This commit is contained in:
Julien BLACHE 2010-09-15 18:17:35 +02:00
parent 748a208796
commit 235e13ef70

View File

@ -554,6 +554,7 @@ main(int argc, char **argv)
DPRINTF(E_LOG, L_MAIN, "Forked Media Server Version %s taking off\n", VERSION);
/* Initialize ffmpeg */
avcodec_init();
av_register_all();
av_log_set_callback(logger_ffmpeg);
register_ffmpeg_evbuffer_url_protocol();