diff options
author | aneejit1 <[email protected]> | 2022-05-20 13:12:12 +0000 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-05-22 11:32:48 +0200 |
commit | a8754a961bd8cc067b4cf4baf4fe7eb61afb1e3e (patch) | |
tree | f1c323ecae9d175c93feb735b5dd1221e3e386a0 /plugins/audiooutput/arts/k3bartsoutputplugin.cpp | |
parent | ea1dbe7ba9eac4d7004f9aa9603398580c5ad47f (diff) | |
download | k3b-a8754a961bd8cc067b4cf4baf4fe7eb61afb1e3e.tar.gz k3b-a8754a961bd8cc067b4cf4baf4fe7eb61afb1e3e.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]>
(cherry picked from commit 18ea1e7a9489bf811dd33b7652866015f6340432)
Diffstat (limited to 'plugins/audiooutput/arts/k3bartsoutputplugin.cpp')
0 files changed, 0 insertions, 0 deletions