1From 0dfb56e12fa709794525cda1471091f6699905d5 Mon Sep 17 00:00:00 2001 2From: Vincent Davis Jr <vince@underview.tech> 3Date: Thu, 8 Dec 2022 10:49:03 -0600 4Subject: [PATCH] libavcodec: omx replace /opt/vc path with /usr/lib 5 6Upstream-Status: Inappropriate 7 8RPI-Distro repo clones original ffmpeg and applies patches to enable 9raspiberry pi support. 10 11Configures omx.c for OE usages as libbcm_host.so 12and libopenmaxil.so are located in a different 13location. 14 15Signed-off-by: Vincent Davis Jr <vince@underview.tech> 16--- 17 libavcodec/omx.c | 2 +- 18 1 file changed, 1 insertion(+), 1 deletion(-) 19 20diff --git a/libavcodec/omx.c b/libavcodec/omx.c 21index 0a6a3083..8c6e9193 100644 22--- a/libavcodec/omx.c 23+++ b/libavcodec/omx.c 24@@ -141,7 +141,7 @@ static av_cold OMXContext *omx_init(void *logctx, const char *libname, const cha 25 { 26 static const char * const libnames[] = { 27 #if CONFIG_OMX_RPI 28- "/opt/vc/lib/libopenmaxil.so", "/opt/vc/lib/libbcm_host.so", 29+ "/usr/lib/libopenmaxil.so", "/usr/lib/libbcm_host.so", 30 #else 31 "libOMX_Core.so", NULL, 32 "libOmxCore.so", NULL, 33-- 342.38.1 35 36