diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c index 19a4475d90..8333050bab 100644 --- a/libavcodec/ffjni.c +++ b/libavcodec/ffjni.c @@ -294,12 +294,12 @@ int ff_jni_exception_get_summary(JNIEnv *env, jthrowable exception, char **error if (name && message) { av_bprintf(&bp, "%s: %s", name, message); } else if (name && !message) { - av_bprintf(&bp, "%s occured", name); + av_bprintf(&bp, "%s occurred", name); } else if (!name && message) { av_bprintf(&bp, "Exception: %s", message); } else { av_log(log_ctx, AV_LOG_WARNING, "Could not retreive exception name and message\n"); - av_bprintf(&bp, "Exception occured"); + av_bprintf(&bp, "Exception occurred"); } ret = av_bprint_finalize(&bp, error);