Explorar o código

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.
John Bradley %!s(int64=10) %!d(string=hai) anos
pai
achega
5465fcb4a2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      deps/libff/libff/ff-demuxer.c

+ 2 - 1
deps/libff/libff/ff-demuxer.c

@@ -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;