Browse Source

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 <a.solozabal@hotmail.com>
tags/n4.2
Alejandro Solozabal Mark Thompson 6 years ago
parent
commit
caabe1b495
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/omx.c

+ 1
- 1
libavcodec/omx.c View 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");


Loading…
Cancel
Save