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>
pull/315/head
Alejandro Solozabal 6 years ago committed by Mark Thompson
parent f70c397456
commit caabe1b495
  1. 2
      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");

Loading…
Cancel
Save