-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[x264] Update to 0.164.3108, use official upstream #39460
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
38a31d5
[x264] Update to 0.164.3108, use official upstream
dg0yt 7202bcd
[x264] Unroll default-features
dg0yt c99f653
[x264] Fix cross builds
dg0yt f9cfdae
Fixup
dg0yt 491e9f6
Fixup
dg0yt 1dbea9a
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff --git a/configure b/configure | ||
index e242e73c..e0d1df76 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -1,4 +1,7 @@ | ||
-#!/bin/bash | ||
+/usr/bin/env bash | ||
+ | ||
+export CFLAGS="${CPPFLAGS} ${CFLAGS}" | ||
+test "${AS:-:}" = ":" && unset AS | ||
|
||
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then | ||
cat <<EOF | ||
@@ -837,6 +840,7 @@ case $host_cpu in | ||
AS="${AS-${SRCPATH}/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo}" | ||
else | ||
AS="${AS-${CC}}" | ||
+ test "${AS}" = "${CC}" && ASFLAGS="${CPPFLAGS} ${ASFLAGS}" | ||
fi | ||
;; | ||
arm*) | ||
@@ -855,6 +859,7 @@ case $host_cpu in | ||
AS="${AS-${SRCPATH}/tools/gas-preprocessor.pl -arch arm -as-type clang -force-thumb -- ${CC} -mimplicit-it=always}" | ||
else | ||
AS="${AS-${CC}}" | ||
+ test "${AS}" = "${CC}" && ASFLAGS="${CPPFLAGS} ${ASFLAGS}" | ||
fi | ||
;; | ||
s390|s390x) | ||
@@ -1354,8 +1359,10 @@ if [ $SYS = WINDOWS -a $ARCH = X86 -a $compiler = GNU ] ; then | ||
fi | ||
|
||
if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then | ||
+ if cc_check "" "" "#if defined(__ANDROID_API__) && __ANDROID_API__ < 24\n#error\n#endif\n" ; then | ||
define fseek fseeko | ||
define ftell ftello | ||
+ fi | ||
elif cc_check "stdio.h" "" "fseeko64(stdin,0,0);" ; then | ||
define fseek fseeko64 | ||
define ftell ftello64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/version.sh b/version.sh | ||
index 178fc952..06728796 100755 | ||
--- a/version.sh | ||
+++ b/version.sh | ||
@@ -3,8 +3,8 @@ | ||
cd "$(dirname "$0")" >/dev/null && [ -f x264.h ] || exit 1 | ||
|
||
api="$(grep '#define X264_BUILD' < x264.h | sed 's/^.* \([1-9][0-9]*\).*$/\1/')" | ||
-ver="x" | ||
-version="" | ||
+ver="@revision@ @short_ref@" | ||
+version=" r${ver} vcpkg" | ||
|
||
if [ -d .git ] && command -v git >/dev/null 2>&1 ; then | ||
localver="$(($(git rev-list HEAD | wc -l)))" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't it still need to be a shebang?
This comment was marked as outdated.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 Me needs more sleep. Thanks for catching.
This comment was marked as outdated.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem! :)