Correct API version check

The version check for "av_register_all" is being performed against
the AVCodec API. Correct it to the AVFormat API.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
pull/15/head
aneejit1 2 years ago
parent 8e7556b9a8
commit 9d90dd583d

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

Loading…
Cancel
Save