diff options
| author | aneejit1 <aneejit1@gmail.com> | 2022-05-20 12:46:57 +0000 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2022-05-22 11:34:30 +0200 |
| commit | 9fb9c20217953fe6a8b56674dfa5837eca8ea66f (patch) | |
| tree | cb315f97bb84c4e44c2a905996833c07ea35c62b /src/prefMencoder.cpp | |
| parent | bb8d39297f5d33d3ede4077cfde14ce0eff7c559 (diff) | |
| download | k9copy-9fb9c20217953fe6a8b56674dfa5837eca8ea66f.tar.gz k9copy-9fb9c20217953fe6a8b56674dfa5837eca8ea66f.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 the close method of k9avidecode.cpp to the
version of libavformat in which codecpar appeared rather than when
avcodec_free_context appeared.
- avcodec_decode_video2 was deprecated in libavcodec 57.106.100, not
57.12.100, so the version has been corrected.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit bd83eb09514fca0b6575c552d02227181d0545b2)
Diffstat (limited to 'src/prefMencoder.cpp')
0 files changed, 0 insertions, 0 deletions
