int av_jni_set_android_app_ctx(void *app_ctx, void *log_ctx)
{ #if CONFIG_JNI
jobjectRefType type;
JNIEnv *env = ff_jni_get_env(log_ctx); if (!env) return AVERROR(EINVAL);
type = (*env)->GetObjectRefType(env, app_ctx); if (type != JNIGlobalRefType) {
av_log(log_ctx, AV_LOG_ERROR, "Application context must be passed as a global reference"); return AVERROR(EINVAL);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.