PR #24028 opened by Jamaika1
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24028
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24028.patch

https://github.com/AcademySoftwareFoundation/openapv/pull/235


>From 9e955e35a80f41b29377d00ef5c65b7e2a593cee Mon Sep 17 00:00:00 2001
From: Jamaika1 <[email protected]>
Date: Thu, 6 Aug 2026 09:49:03 +0000
Subject: [PATCH] libavcodec/liboapvenc: add per-instance custom memory
 allocator interface

https://github.com/AcademySoftwareFoundation/openapv/pull/235
---
 libavcodec/liboapvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c
index 22a8ac4890..8b01560961 100644
--- a/libavcodec/liboapvenc.c
+++ b/libavcodec/liboapvenc.c
@@ -509,7 +509,7 @@ static av_cold int liboapve_init(AVCodecContext *avctx)
     }
 
     /* create metadata handler */
-    apv->mid = oapvm_create(&ret);
+    apv->mid = oapvm_create(cdsc, &ret);
     if (apv->mid == NULL || OAPV_FAILED(ret)) {
         av_log(avctx, AV_LOG_ERROR, "cannot create OAPV metadata handler\n");
         return AVERROR_EXTERNAL;
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to