avcodec/mediacodecdec: declare correct class for audio decoders

The class for video decoders had been assigned till date.
This commit is contained in:
Gyan Doshi
2026-05-03 05:58:13 +00:00
committed by Zhao Zhili
co-authored by Zhao Zhili
parent 016a241102
commit 4a2b643646
+1 -1
View File
@@ -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"), \