Skip to content
Browse files

[WIN32] fixed ffmpeg compilation by removing libfaad. Please provide …

…a patch if anyone wants to have it back.
  • Loading branch information...
1 parent 812f218 commit 2bd0759041888b62717764e3cbb1c086140fad3b @wsoltys wsoltys committed Jan 29, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 lib/ffmpeg/build_xbmc_win32.sh
View
9 lib/ffmpeg/build_xbmc_win32.sh
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/bin/bash
+
if [ -d .libs ]
then
rm -r .libs
@@ -16,7 +17,6 @@ OPTIONS="
--enable-w32threads \
--enable-postproc \
--enable-zlib \
---enable-libfaad \
--disable-static \
--disable-altivec \
--disable-muxers \
@@ -34,7 +34,7 @@ OPTIONS="
--enable-runtime-cpudetect \
--disable-debug"
-./configure --extra-cflags="-fno-common -I../libfaad2/include -Iinclude/dxva2" --extra-ldflags="-L../../../../../system/players/dvdplayer" ${OPTIONS} &&
+./configure --extra-cflags="-fno-common -Iinclude/dxva2" --extra-ldflags="-L../../../../../system/players/dvdplayer" ${OPTIONS} &&
make -j3 &&
mkdir .libs &&
@@ -45,5 +45,4 @@ cp .libs/avformat-52.dll ../../../../../system/players/dvdplayer/ &&
cp .libs/avutil-50.dll ../../../../../system/players/dvdplayer/ &&
cp .libs/postproc-51.dll ../../../../../system/players/dvdplayer/ &&
cp .libs/swscale-0.6.1.dll ../../../../../system/players/dvdplayer/ &&
-cp libavutil/avconfig.h include/libavutil/
-
+cp libavutil/avconfig.h include/libavutil/

0 comments on commit 2bd0759

Please sign in to comment.
Something went wrong with that request. Please try again.