PR #22971 opened by Gyan Doshi (GyanD)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22971
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22971.patch

The class for video decoders had been assigned till date.


>From 3dfbd811211dcd7db092582dbc7d6c1443ebab7f Mon Sep 17 00:00:00 2001
From: Gyan Doshi <[email protected]>
Date: Thu, 30 Apr 2026 22:11:55 +0530
Subject: [PATCH] avcodec/mediacodecdec: declare correct class for audio
 decoders

The class for video decoders had been assigned till date.
---
 libavcodec/mediacodecdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index ea9362ba85..bc176d8070 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -677,7 +677,7 @@ static const AVClass ff_##short_name##_mediacodec_dec_class 
= { \
 };
 
 #define DECLARE_MEDIACODEC_ADEC(short_name, full_name, codec_id, bsf)          
                \
-DECLARE_MEDIACODEC_VCLASS(short_name)                                          
                \
+DECLARE_MEDIACODEC_ACLASS(short_name)                                          
                \
 const FFCodec ff_ ## short_name ## _mediacodec_decoder = {                     
                \
     .p.name         = #short_name "_mediacodec",                               
                \
     CODEC_LONG_NAME(full_name " Android MediaCodec decoder"),                  
                \
-- 
2.52.0

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

Reply via email to