avcodec/omx: Correct av_log() log message
authorAlejandro Solozabal <a.solozabal@hotmail.com>
Wed, 12 Jun 2019 12:16:25 +0000 (12:16 +0000)
committerMark Thompson <sw@jkqxz.net>
Wed, 12 Jun 2019 21:29:11 +0000 (22:29 +0100)
Print the right library name, which is trying to open, on the log message.

Signed-off-by: Alejandro Solozabal <a.solozabal@hotmail.com>
libavcodec/omx.c

index 466e0be..a1e5a46 100644 (file)
@@ -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");