diff options
author | aneejit1 <[email protected]> | 2022-05-20 13:12:12 +0000 |
---|---|---|
committer | aneejit1 <[email protected]> | 2022-05-20 17:04:06 +0000 |
commit | 18ea1e7a9489bf811dd33b7652866015f6340432 (patch) | |
tree | 6aef41779664bac030ec90d11ab447e77050893c /plugins/decoder/mp3/k3bmaddecoder.cpp | |
parent | 9d90dd583d66b06d059b544e25a3ef1b8ca8f0f6 (diff) | |
download | k3b-18ea1e7a9489bf811dd33b7652866015f6340432.tar.gz k3b-18ea1e7a9489bf811dd33b7652866015f6340432.zip |
Fix problems for older ffmpeg versions
Fix the following issues when building against older ffmpeg versions
- the call to avcodec_free_context exceptions as avformat_close_input
already performs cleanup of the AVCodecContext, so link the calling of
avcodec_free_context in k3bffmpegwrapper.cpp to the version of
libavformat in which codecpar appeared rather than when
avcodec_free_context appeared.
- avcodec_decode_audio4 was deprecated in libavcodec 57.106.100, not
57.12.100, so the version has been corrected.
Signed-off-by: aneejit1 <[email protected]>
Diffstat (limited to 'plugins/decoder/mp3/k3bmaddecoder.cpp')
0 files changed, 0 insertions, 0 deletions