Skip to content

Commit 69f8f8b

Browse files
committed
ffmpeg: remove call deprecated in ffmpeg's libavformat 58.9.100
1 parent 85cb742 commit 69f8f8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

panda/src/ffmpeg/ffmpegVirtualFile.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@ register_protocol() {
189189
}
190190

191191
// Here's a good place to call this global ffmpeg initialization function.
192+
// However, ffmpeg (but not libav) deprecated this, hence this check.
193+
#if LIBAVFORMAT_VERSION_MICRO < 100 || LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
192194
av_register_all();
195+
#endif
193196

194197
// And this one.
195198
avformat_network_init();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy