diff mbox series

[FFmpeg-devel,34/41] avcodec/libcodec2: Remove AVClass for decoder

Message ID VI1PR0301MB2159D150180044B5EF6ECCFB8F0E9@VI1PR0301MB2159.eurprd03.prod.outlook.com
State Accepted
Commit 425d272507edbcce458df0064abefd4b02098dfa
Headers show
Series [FFmpeg-devel,01/41] avformat/Makefile: Add missing rawdec dependency for IPU demuxer
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 17, 2021, 2:31 a.m. UTC
The decoder has no options.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/libcodec2.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/libcodec2.c b/libavcodec/libcodec2.c
index 2996dc42f5..a8c92ecce1 100644
--- a/libavcodec/libcodec2.c
+++ b/libavcodec/libcodec2.c
@@ -46,12 +46,6 @@  static const AVClass libcodec2_enc_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-static const AVClass libcodec2_dec_class = {
-    .class_name = "libcodec2 decoder",
-    .item_name  = av_default_item_name,
-    .version    = LIBAVUTIL_VERSION_INT,
-};
-
 static av_cold int libcodec2_init_common(AVCodecContext *avctx, int mode)
 {
     LibCodec2Context *c2 = avctx->priv_data;
@@ -194,7 +188,6 @@  const AVCodec ff_libcodec2_decoder = {
     .supported_samplerates  = (const int[]){ 8000, 0 },
     .sample_fmts            = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
     .channel_layouts        = (const uint64_t[]) { AV_CH_LAYOUT_MONO, 0 },
-    .priv_class             = &libcodec2_dec_class,
 };
 
 const AVCodec ff_libcodec2_encoder = {