Call avformat_network_init.

This commit is contained in:
Themaister 2012-11-23 23:44:15 +01:00
parent 43f568b436
commit f21fefff1f

View File

@ -485,6 +485,7 @@ static void deinit_thread_buf(ffemu_t *handle)
ffemu_t *ffemu_new(const struct ffemu_params *params)
{
av_register_all();
avformat_network_init();
ffemu_t *handle = (ffemu_t*)calloc(1, sizeof(*handle));
if (!handle)