summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
index 2a113a1..4c4496b 100644
--- a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
+++ b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
@@ -448,7 +448,7 @@ bool K3bFFMpegFile::seek(const K3b::Msf &msf) {
//
// av_register_all is deprecated since ffmpeg 4.0, can be dropped
K3bFFMpegWrapper::K3bFFMpegWrapper() {
-#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,9,100)
+#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58,9,100)
::av_register_all();
#endif
}