Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | From 0dfb56e12fa709794525cda1471091f6699905d5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Vincent Davis Jr <vince@underview.tech> |
| 3 | Date: Thu, 8 Dec 2022 10:49:03 -0600 |
| 4 | Subject: [PATCH] libavcodec: omx replace /opt/vc path with /usr/lib |
| 5 | |
| 6 | Upstream-Status: Inappropriate |
| 7 | |
| 8 | RPI-Distro repo clones original ffmpeg and applies patches to enable |
| 9 | raspiberry pi support. |
| 10 | |
| 11 | Configures omx.c for OE usages as libbcm_host.so |
| 12 | and libopenmaxil.so are located in a different |
| 13 | location. |
| 14 | |
| 15 | Signed-off-by: Vincent Davis Jr <vince@underview.tech> |
| 16 | --- |
| 17 | libavcodec/omx.c | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/libavcodec/omx.c b/libavcodec/omx.c |
| 21 | index 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 | -- |
| 34 | 2.38.1 |
| 35 | |