ffmpeg: remove call deprecated in ffmpeg's libavformat 58.9.100

This commit is contained in:
rdb 2018-11-28 16:22:27 +01:00
parent 85cb742f79
commit 69f8f8b7b7

View File

@ -189,7 +189,10 @@ register_protocol() {
}
// Here's a good place to call this global ffmpeg initialization function.
// However, ffmpeg (but not libav) deprecated this, hence this check.
#if LIBAVFORMAT_VERSION_MICRO < 100 || LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
// And this one.
avformat_network_init();