[10/203] Building CXX object replaygain/CMakeFiles/cantata-replaygain.dir/ffmpeginput.cpp.o
/home/nullobsi/Developer/cantata/replaygain/ffmpeginput.cpp:252:3: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations]
252 | avcodec_close(handle->codecContext);
| ^
/usr/include/libavcodec/avcodec.h:2386:1: note: 'avcodec_close' has been explicitly marked deprecated here
2386 | attribute_deprecated
| ^
/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
100 | # define attribute_deprecated __attribute__((deprecated))
| ^
1 warning generated.
Additional context
Newer versions of ffmpeg have a different semantic about this. Need to check if the replacement function is implemented in older versions too.
Describe the bug
Additional context Newer versions of ffmpeg have a different semantic about this. Need to check if the replacement function is implemented in older versions too.