Commit Graph

17 Commits (f5c200ccf0f8066dbbbc38cf36af10bdc54f5a45)

Author SHA1 Message Date
aneejit1 18ea1e7a94 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 <aneejit1@gmail.com>
3 years ago
aneejit1 9d90dd583d Correct API version check
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>
3 years ago
aneejit1 8e7556b9a8 Enable ffmpeg 5.0 compatibility
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>
3 years ago
François Andriot 6a10a4b693 Fix FTBFS on RHEL6
Signed-off-by: François Andriot <francois.andriot@free.fr>
3 years ago
Michele Calgaro f76cc7b31d
Fixed building with older version of libav* libraries.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro e24ff5c0cf
Replace nullptr with NULL.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Mashiro 095c3186b1
Fix metainfo processing, AAC decoding, some domestic code clearance
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>
4 years ago
Michele Calgaro 73875333f1 Fixed typo in comment. 11 years ago
Michele Calgaro a6902f81bb Fixed FTBFS caused by migration to libav10 (Debian/Jessie). This resolves bug 2064. 11 years ago
Francois Andriot 7de21d9e22 Fix FTBFS due to deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE in ffmpeg 12 years ago
Timothy Pearson 281d226f74 Rename additional header files to avoid conflicts with KDE4 12 years ago
Slávek Banko e49a3521c0 Enhance ffmpeg compatibility with older versions 13 years ago
Darrell Anderson cc573f2493 Fix build failures against ffmpeg >=0.11.
Thanks to David C. Rankin.
13 years ago
tpearson 435ca112de Fix k3b FTBFS under older versions of ffpmeg
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1258938 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 4b97664c5d Fix k3b FTBFS under oneiric
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1258926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson d8cc8bdfa7 TQt4 port k3b
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
14 years ago
tpearson 50b48aec6d Added abandoned KDE3 version of K3B
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago