-
Notifications
You must be signed in to change notification settings - Fork 631
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
android.sh fails with NDK r26 or above #1076
Comments
My ffmpeg build works fine with latest NDK r27 and ffmpeg-kit development branch:
Makefile is available here: https://github.com/juha-h/libbaresip-android (video branch). |
You probably don't see the second problem as you are using --skip-ffmpeg-kit |
srcejon writes:
You probably don't see the second problem as you are using
--skip-ffmpeg-kit
Correct, I skip it, since I only use the libs.
|
I enabled ffmpeg-kit and then the build failed:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
android.sh fails with NDK r26 or above.
Error in build.log is:
It seems to be caused by the following lines in android/jni/Android.mk:
If I comment that out, then it builds OK. (That may break builds with older NDKs - r25 seems ok without it)
Next problem is:
Presumably this can be fixed with:
+++ b/android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg_mux_init.c
@@ -284,9 +284,9 @@ static int enc_stats_init(OutputStream *ost, EncStats *es, int pre,
static const struct {
enum EncStatsType type;
const char *str;
- int pre_only:1;
- int post_only:1;
- int need_input_data:1;
+ unsigned int pre_only:1;
+ unsigned int post_only:1;
+ unsigned int need_input_data:1;
Environment
Android
arm64-v8a
,main
,r26d
or28.0.12674087
The text was updated successfully, but these errors were encountered: