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:
parent
b2d5b47833
commit
5465fcb4a2
3
deps/libff/libff/ff-demuxer.c
vendored
3
deps/libff/libff/ff-demuxer.c
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user