summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Solozabal <[email protected]>2019-06-12 12:16:25 +0000
committerMark Thompson <[email protected]>2019-06-12 22:29:11 +0100
commitcaabe1b4956d054bc3b077ae03a0d4205dbb843e (patch)
tree239fcee78c76008454ab0a5e87eaf6ba4f2c38d9
parentf70c397456c7eba78a22e9318bce634e1d9079d6 (diff)
avcodec/omx: Correct av_log() log message
Print the right library name, which is trying to open, on the log message. Signed-off-by: Alejandro Solozabal <[email protected]>
-rw-r--r--libavcodec/omx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index 466e0be9fe..a1e5a46a54 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -100,7 +100,7 @@ static av_cold int omx_try_load(OMXContext *s, void *logctx,
if (libname2) {
s->lib2 = dlopen(libname2, RTLD_NOW | RTLD_GLOBAL);
if (!s->lib2) {
- av_log(logctx, AV_LOG_WARNING, "%s not found\n", libname);
+ av_log(logctx, AV_LOG_WARNING, "%s not found\n", libname2);
return AVERROR_ENCODER_NOT_FOUND;
}
s->host_init = dlsym(s->lib2, "bcm_host_init");