Commit 08b3a966 authored by Rafaël Carré's avatar Rafaël Carré

contrib: ffmpeg: fix OSX linking with vda enabled

patch sent to libav
parent b1ff303c
......@@ -116,6 +116,7 @@ ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.gz .sum-ffmpeg
ifdef HAVE_WIN32
sed -i "s/std=c99/std=gnu99/" $@-$(FFMPEG_VERSION)/configure
endif
$(APPLY) $(SRC)/ffmpeg/vda.patch
$(MOVE)
.ffmpeg: ffmpeg
......
--- ffmpeg-git/configure.orig 2011-11-24 19:07:09.080887690 -0500
+++ ffmpeg-git/configure 2011-11-24 19:07:36.597024164 -0500
@@ -3000,6 +3000,7 @@
if check_header VideoDecodeAcceleration/VDADecoder.h; then
enable vda
add_ldflags -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore
+ add_extralibs -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore
fi
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment