Skip to content

Commit

Permalink
Merge branch 'release/v0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshsondhi88 committed Sep 19, 2014
2 parents 6643f34 + 35ac198 commit b9cd3eb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Instructions
* To update submodules and libraries you can use ./init_update_libs.sh command
* Find the executable binary in build directory.
* If you want to use FONTCONFIG then you need to specify your custom fontconfig config file (e.g - "FONTCONFIG_FILE=/sdcard/fonts.conf ./ffmpeg --version", where /sdcard/fonts.conf is location of your FONTCONFIG configuration file).
* You can also download [prebuilt-binaries.zip](https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.1/prebuilt-binaries.zip) [prebuilt-binaries.tar.gz](https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.1/prebuilt-binaries.tar.gz) here.
* You can also download [prebuilt-binaries.zip](https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.2/prebuilt-binaries.zip) [prebuilt-binaries.tar.gz](https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.2/prebuilt-binaries.tar.gz) here.

License
----
Expand Down
6 changes: 1 addition & 5 deletions abi_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ case $1 in
NDK_ABI='arm'
NDK_TOOLCHAIN_ABI='arm-linux-androideabi'
NDK_CROSS_PREFIX="${NDK_TOOLCHAIN_ABI}"
CFLAGS="$CFLAGS -march=armv7-a"
CFLAGS_LIBS="$CFLAGS_LIBS -mcpu=cortex-a8 -marm -mfloat-abi=softfp"
;;
armeabi-v7a-neon)
NDK_ABI='arm'
NDK_TOOLCHAIN_ABI='arm-linux-androideabi'
NDK_CROSS_PREFIX="${NDK_TOOLCHAIN_ABI}"
CFLAGS="$CFLAGS -march=armv7-a -mfpu=neon"
CFLAGS_LIBS="$CFLAGS_LIBS -mcpu=cortex-a8 -marm -mfloat-abi=softfp -mfpu=neon"
CFLAGS="${CFLAGS} -mfpu=neon"
;;
x86)
NDK_ABI='x86'
NDK_TOOLCHAIN_ABI='x86'
NDK_CROSS_PREFIX="i686-linux-android"
CFLAGS="$CFLAGS -march=i686"
CFLAGS_LIBS="$CFLAGS_LIBS -march=i686"
;;
esac

Expand Down
4 changes: 2 additions & 2 deletions ffmpeg_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
pushd ffmpeg

case $1 in
armeabi-v7a | armeabi-v7a-neon )
CPU='armv7-a'
armeabi-v7a | armeabi-v7a-neon)
CPU='cortex-a8'
;;
x86)
CPU='i686'
Expand Down
Binary file modified libpng_build.sh
Binary file not shown.
1 change: 0 additions & 1 deletion settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ TARGET_OS=linux
CFLAGS='-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all'
LDFLAGS='-Wl,-z,relro -Wl,-z,now -pie'

CFLAGS_LIBS="-std=gnu99"
FFMPEG_PKG_CONFIG="$(pwd)/ffmpeg-pkg-config"
1 change: 1 addition & 0 deletions x264_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ echo $CFLAGS
--sysroot="$NDK_SYSROOT" \
--host="$HOST" \
--enable-pic \
--disable-asm \
--enable-static \
--disable-shared \
--prefix="${TOOLCHAIN_PREFIX}" \
Expand Down

0 comments on commit b9cd3eb

Please # to comment.