When sndfile is not installed in /usr, a compilation failure in
plugins/decoder/libsndfile may occur due to a missing specification of
the include directory. The required directory variable is now added to
the "include_directories" statement.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
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 <aneejit1@gmail.com>
The version check for "av_register_all" is being performed against
the AVCodec API. Correct it to the AVFormat API.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
The release of version 5.0 of ffmpeg removes a lot of deprecated API
functions, some of which are being used by k3b. The ffmpeg support has
been modified to support 5.0 as well as older versions.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Initially code entirely taken and adopted from k3b upstream
1e09c7d77f
with subsequent fix of the read() function and reducing of the
compiler warnings.
Signed-off-by: Mashiro <m.t.0x73@gmail.com>
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da