summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-09-29 15:34:50 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-09-29 15:34:50 +0200
commitf2e74d3d72986a7e2a12083b7f02389f7840cb17 (patch)
tree1b441a664d552edb74a118efbe4b1603b8618568 /media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild
parentlibav9 compile fix (diff)
downloaddevel-f2e74d3d72986a7e2a12083b7f02389f7840cb17.tar.gz
devel-f2e74d3d72986a7e2a12083b7f02389f7840cb17.tar.bz2
devel-f2e74d3d72986a7e2a12083b7f02389f7840cb17.zip
libav10 fixes
Package-Manager: portage-2.2.14_rc1 Manifest-Sign-Key: 34C2808A
Diffstat (limited to 'media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild')
-rw-r--r--media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild b/media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild
index ac4cd13..5773e63 100644
--- a/media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild
+++ b/media-plugins/vdr-reelbox/vdr-reelbox-3.14916-r1.ebuild
@@ -59,4 +59,9 @@ src_prepare() {
sed -i \
-e 's:avcodec.h>:avcodec.h>\n#include <libavutil/mem.h>:' \
VideoPlayerPipHd.c || die
+
+ # libav10 support
+ sed -i \
+ -e "s:avcodec_alloc_frame:av_frame_alloc:" \
+ VideoPlayerPipHd.c
}