meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/2004-libavcodec-omx-replace-opt-vc-path-with-usr-lib.patch
Gijs Peskens 046a238927 rpidistro-ffmpeg: upgrade to latest upstream, 7.1.13
Upgrade rpidistro-ffmpeg to the latest upstream, some changes were made
in the recipe to better match the OE recipe of the same version, x264
disabled by default due to cyclic dependency

Signed-off-by: Gijs Peskens <gijs.peskens@munisense.com>
2026-02-10 16:15:29 +00:00

33 lines
1.1 KiB
Diff

From 53f736cdb4d85633286287594675e5f3c7fa8df9 Mon Sep 17 00:00:00 2001
From: Vincent Davis Jr <vince@underview.tech>
Date: Thu, 8 Dec 2022 10:49:03 -0600
Subject: [PATCH] libavcodec: omx replace /opt/vc path with /usr/lib
Upstream-Status: Inappropriate
RPI-Distro repo clones original ffmpeg and applies patches to enable
raspiberry pi support.
Configures omx.c for OE usages as libbcm_host.so
and libopenmaxil.so are located in a different
location.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
libavcodec/omx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index 2c386550..f0e75216 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -143,7 +143,7 @@ static av_cold OMXContext *omx_init(void *logctx, const char *libname, const cha
{
static const char * const libnames[] = {
#if CONFIG_OMX_RPI
- "/opt/vc/lib/libopenmaxil.so", "/opt/vc/lib/libbcm_host.so",
+ "/usr/lib/libopenmaxil.so", "/usr/lib/libbcm_host.so",
#else
"libOMX_Core.so", NULL,
"libOmxCore.so", NULL,