summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}