mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
ffmpeg: remove call deprecated in ffmpeg's libavformat 58.9.100
This commit is contained in:
parent
85cb742f79
commit
69f8f8b7b7
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user