deps-libff: Initialize FFmpeg network

If this is omitted and you use an input that requires the network
you get a warning message about future versions not automatically
doing this for you.
This commit is contained in:
John Bradley 2015-03-12 16:21:30 -05:00
parent b2d5b47833
commit 5465fcb4a2

View File

@ -40,7 +40,8 @@ struct ff_demuxer *ff_demuxer_init()
av_register_all();
avdevice_register_all();
avfilter_register_all();
avformat_network_init();
demuxer = av_mallocz(sizeof(struct ff_demuxer));
if (demuxer == NULL)
return NULL;