Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242000 - app-cdr/k3b-1.0.5-r3 fails to build against ffmpeg 0.4.9_p20081014
Summary: app-cdr/k3b-1.0.5-r3 fails to build against ffmpeg 0.4.9_p20081014
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 241942
  Show dependency tree
 
Reported: 2008-10-14 13:23 UTC by Alexis Ballier
Modified: 2008-10-15 11:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (lavc.patch,1.02 KB, patch)
2008-10-14 13:23 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2008-10-14 13:23:00 UTC
This ffmpeg version has a big api change. I'll attach the patch; note that I
have *not* upstreamed it as I don't know how you handle your relations with
upstream. If you want me to do it, please let me know. This bug will serve me
to track the unmasking of ffmpeg from another bug, so please don't close it
until it's really ok.

I've tried to use k3b trunk but it needs kde4; anyway the changes here should be minimal: dont use CODEC_ID_MP3LAME but CODEC_ID_MP3 instead (MP3LAME has no sense as a codec) and dont use avcodec_decode_audio but avcodec_decode_audio2 and set its third argument to  AVCODEC_MAX_AUDIO_FRAME_SIZE and you'll get the exact same thing as avcodec_decode_audio.
Comment 1 Alexis Ballier gentoo-dev 2008-10-14 13:23:52 UTC
Created attachment 168422 [details, diff]
fix
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-15 11:09:51 UTC
+  15 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/k3b-1.0.5-ffmpeg-0.4.9_p20081014-API.patch, k3b-1.0.5-r3.ebuild:
+  Fix for new ffmpeg API, bug 242000, thanks to Alexis Ballier.
+

Upstream bug:
https://bugs.kde.org/show_bug.cgi?id=171725