mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avcodec/ffjni: Fix occured typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
89862cd734
commit
a008a7cc95
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user