Skip to content

Commit

Permalink
update ffmpeg sources for 1.86.?
Browse files Browse the repository at this point in the history
Edit:
We are still at ffmpeg 4.2 after 2 years... Also only to git-2022-09-13-556758fd
openssl got an update?
dav1d looks to be the same old thing 0.6.0
+ alot of stuff got removed... deadcode?
  • Loading branch information
USBhost committed Aug 11, 2024
1 parent 556758f commit f4072e0
Show file tree
Hide file tree
Showing 746 changed files with 58,648 additions and 468,156 deletions.
2 changes: 1 addition & 1 deletion ffmpeg/JNI/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TARGET=$1
COPY=0
BUILD=0
PROFILE=0
PLATFORM=19
PLATFORM=21

MAKE=$NDK/ndk-build

Expand Down
20 changes: 11 additions & 9 deletions ffmpeg/JNI/config-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ esac
INC_OPENSSL=../openssl-1.0.2s/include
INC_OPUS=../opus-1.1/include
INC_SPEEX=../speex-1.2rc1/include
INC_ZVBI=../zvbi-0.2.35/src
#INC_ZVBI=../zvbi-0.2.35/src
INC_ICONV=../modified_src/iconv
INC_MXV=../modified_src/mxv
INC_MXD=../modified_src/mxd
Expand Down Expand Up @@ -188,15 +188,15 @@ then
elif [ $ARCH == 'arm' ]
then
CROSS_PREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-
AS=$TOOLCHAIN/bin/armv7a-linux-androideabi17-clang
LD=$TOOLCHAIN/bin/armv7a-linux-androideabi17-clang
AS=$TOOLCHAIN/bin/armv7a-linux-androideabi21-clang
LD=$TOOLCHAIN/bin/armv7a-linux-androideabi21-clang

EXTRA_CFLAGS+=" -fstack-protector -fstrict-aliasing"
EXTRA_LDFLAGS+=" -march=$CPU"

if [ -n "${CLANG_VER}" ]
then
CLANG_TARGET=armv7-none-linux-androideabi17
CLANG_TARGET=armv7a-none-linux-androideabi21
fi

OPTFLAGS="-O2"
Expand All @@ -222,14 +222,14 @@ elif [ $ARCH == 'x86' ]
then
FFMPEG_CONFIGURATION="--disable-mmx --disable-mmxext --disable-inline-asm"
CROSS_PREFIX=$TOOLCHAIN/bin/i686-linux-android-
AS=$TOOLCHAIN/bin/i686-linux-android17-clang
LD=$TOOLCHAIN/bin/i686-linux-android17-clang
AS=$TOOLCHAIN/bin/i686-linux-android21-clang
LD=$TOOLCHAIN/bin/i686-linux-android21-clang

EXTRA_CFLAGS+=" -fstrict-aliasing"

if [ -n "${CLANG_VER}" ]
then
CLANG_TARGET=i686-none-linux-android17
CLANG_TARGET=i686-none-linux-android21
EXTRA_CFLAGS+=" -fstack-protector-strong "
fi

Expand All @@ -245,6 +245,9 @@ then
# LINK_AGAINST=15-mips
fi

if [ ! -e ${CROSS_PREFIX}ar ]; then
CROSS_PREFIX=${TOOLCHAIN}/bin/llvm-
fi

if [ -n "${CLANG_VER}" ]
then
Expand Down Expand Up @@ -373,7 +376,6 @@ FF_OUTDEP="\
--enable-libmodplug \
--enable-libopus \
--enable-libspeex \
--enable-libzvbi \
--enable-openssl \
--enable-zlib \
--enable-libxml2 \
Expand All @@ -397,7 +399,7 @@ FFCOMPILER="\
$EXTRA_PARAMETERS \
"

EXTRA_CFLAGS+=" -I$INC_LIBMP3LAME -I$INC_ICONV -I$INC_MXV -I$INC_MXD -I$INC_USB -idirafter$INC_ZVBI -I$INC_OPENSSL -I$INC_OPUS -I$INC_SPEEX -I$INC_MODPLUG -I$INC_LIBMXL2 -I$INC_LIBSMB2 -I$INC_LIBDAV1D -DNDEBUG -DMXTECHS -DFF_API_AVPICTURE=1 -DCONFIG_MXV_FROM_MXVP=1 -DMXD_BUILTIN -ftree-vectorize -ffunction-sections -funwind-tables -fomit-frame-pointer -no-canonical-prefixes -pipe"
EXTRA_CFLAGS+=" -I$INC_LIBMP3LAME -I$INC_ICONV -I$INC_MXV -I$INC_MXD -I$INC_USB -I$INC_OPENSSL -I$INC_OPUS -I$INC_SPEEX -I$INC_MODPLUG -I$INC_LIBMXL2 -I$INC_LIBSMB2 -I$INC_LIBDAV1D -DNDEBUG -DMXTECHS -DFF_API_AVPICTURE=1 -DCONFIG_MXV_FROM_MXVP=1 -DMXD_BUILTIN -ftree-vectorize -ffunction-sections -funwind-tables -fomit-frame-pointer -no-canonical-prefixes -pipe"
EXTRA_LIBS=" -L$LIB_MX -lmxutil -lm -lc++_shared"

# Don't ask me why i need bash here when its already #!/bin/bash. This fixes ffmpeg ./configure: 1283: shift: can't shift that many
Expand Down
Binary file removed ffmpeg/JNI/dav1d/builddir/.ninja_deps
Binary file not shown.
107 changes: 0 additions & 107 deletions ffmpeg/JNI/dav1d/builddir/.ninja_log

This file was deleted.

Loading

0 comments on commit f4072e0

Please sign in to comment.