-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fixes ffmpeg build on ndk 19 #1997
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
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 contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,40 +1,20 @@ | ||
--- ./configure.orig 2017-12-11 00:35:18.000000000 +0300 | ||
+++ ./configure 2017-12-19 09:47:54.104914600 +0300 | ||
@@ -4841,9 +4841,6 @@ | ||
add_cflags -std=c11 || | ||
check_cflags -std=c99 | ||
|
||
-check_cppflags -D_FILE_OFFSET_BITS=64 | ||
-check_cppflags -D_LARGEFILE_SOURCE | ||
- | ||
add_host_cppflags -D_ISOC99_SOURCE | ||
check_host_cflags -std=c99 | ||
check_host_cflags -Wall | ||
@@ -5979,7 +5976,7 @@ | ||
--- ./configure 2019-07-21 18:36:31.000000000 +0200 | ||
+++ ./configure_new 2019-10-04 12:43:41.798448200 +0200 | ||
@@ -6222,7 +6222,7 @@ | ||
enabled librsvg && require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo | ||
enabled librtmp && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket | ||
enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new | ||
enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new -lstdc++ && append librubberband_extralibs "-lstdc++" | ||
-enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_buffer | ||
+enabled libshine && require "shine" shine/layer3.h shine_encode_buffer -lshine | ||
enabled libsmbclient && { use_pkg_config libsmbclient smbclient libsmbclient.h smbc_init || | ||
require smbclient libsmbclient.h smbc_init -lsmbclient; } | ||
enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy | ||
|
||
diff -Naur ffmpeg/configure ffmpeg-1/configure | ||
--- ffmpeg/configure 2019-01-11 09:30:02.824961600 +0100 | ||
+++ ffmpeg-1/configure 2019-01-11 09:29:54.976149600 +0100 | ||
@@ -6068,11 +6068,11 @@ | ||
{ ! enabled cross_compile && add_cflags -isystem/opt/vc/include/IL && check_header OMX_Core.h ; } || | ||
die "ERROR: OpenMAX IL headers not found"; } | ||
enabled omx && require_header OMX_Core.h | ||
-enabled openssl && { use_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl || | ||
+enabled openssl && { use_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl || | ||
use_pkg_config openssl openssl openssl/ssl.h SSL_library_init || | ||
- check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto || | ||
- check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl32 -leay32 || | ||
- check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto -lws2_32 -lgdi32 || | ||
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto || | ||
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 || | ||
+ check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || | ||
+enabled libshine && require "shine" shine/layer3.h shine_encode_buffer -lshine -lm | ||
enabled libsmbclient && { check_pkg_config libsmbclient smbclient libsmbclient.h smbc_init || | ||
require libsmbclient libsmbclient.h smbc_init -lsmbclient; } | ||
enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy -lstdc++ | ||
@@ -6322,7 +6322,7 @@ | ||
die "ERROR: OpenMAX IL headers not found"; } && enable omx | ||
enabled openssl && { check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl || | ||
check_pkg_config openssl openssl openssl/ssl.h SSL_library_init || | ||
- check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto || | ||
+ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto || | ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 || | ||
check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || | ||
die "ERROR: openssl not found"; } | ||
enabled rkmpp && { { require_pkg_config rockchip_mpp rockchip_mpp rockchip/rk_mpi.h mpp_create || |
This file contains hidden or 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.
How about using a tag to a recent version instead of a commit?
https://github.com/FFmpeg/FFmpeg/releases