a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
BSD 3-Clause "New" or "Revised" License
4.18k
stars
295
forks
source link
Ffmpeg*: unbreak build with ffmpeg < 7.0 #692
Closed
barracuda156 closed 2 months ago
This just restores the code dropped in https://github.com/clangen/musikcube/commit/fdacf36f3db8e7a70cf1bebd2c7d334110d0f916 conditionally on FFMpeg being in use. There are no changes to the code, I just use a macro mirroring the one already in use for FFMpeg6 here: https://github.com/clangen/musikcube/blob/395f515315bdc2a9dfe4831bc5b25d486ff02466/src/plugins/stockencoders/FfmpegEncoder.cpp#L42-L44
Addresses https://github.com/clangen/musikcube/issues/690