Commit a06bf636 authored by Mans Rullgard's avatar Mans Rullgard

mpegaudiodec: remove decode_end() function

This function is not needed since 721d6f2d removed the DCT table
allocations for the configuration used here.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 70378ea1
...@@ -80,13 +80,6 @@ static void compute_antialias_float(MPADecodeContext *s, ...@@ -80,13 +80,6 @@ static void compute_antialias_float(MPADecodeContext *s,
} }
} }
static av_cold int decode_end(AVCodecContext * avctx)
{
MPADecodeContext *s = avctx->priv_data;
ff_dct_end(&s->dct);
return 0;
}
#if CONFIG_MP1FLOAT_DECODER #if CONFIG_MP1FLOAT_DECODER
AVCodec ff_mp1float_decoder = AVCodec ff_mp1float_decoder =
{ {
...@@ -96,7 +89,7 @@ AVCodec ff_mp1float_decoder = ...@@ -96,7 +89,7 @@ AVCodec ff_mp1float_decoder =
sizeof(MPADecodeContext), sizeof(MPADecodeContext),
decode_init, decode_init,
NULL, NULL,
decode_end, .close = NULL,
decode_frame, decode_frame,
CODEC_CAP_PARSE_ONLY, CODEC_CAP_PARSE_ONLY,
.flush= flush, .flush= flush,
...@@ -112,7 +105,7 @@ AVCodec ff_mp2float_decoder = ...@@ -112,7 +105,7 @@ AVCodec ff_mp2float_decoder =
sizeof(MPADecodeContext), sizeof(MPADecodeContext),
decode_init, decode_init,
NULL, NULL,
decode_end, .close = NULL,
decode_frame, decode_frame,
CODEC_CAP_PARSE_ONLY, CODEC_CAP_PARSE_ONLY,
.flush= flush, .flush= flush,
...@@ -128,7 +121,7 @@ AVCodec ff_mp3float_decoder = ...@@ -128,7 +121,7 @@ AVCodec ff_mp3float_decoder =
sizeof(MPADecodeContext), sizeof(MPADecodeContext),
decode_init, decode_init,
NULL, NULL,
decode_end, .close = NULL,
decode_frame, decode_frame,
CODEC_CAP_PARSE_ONLY, CODEC_CAP_PARSE_ONLY,
.flush= flush, .flush= flush,
...@@ -144,7 +137,7 @@ AVCodec ff_mp3adufloat_decoder = ...@@ -144,7 +137,7 @@ AVCodec ff_mp3adufloat_decoder =
sizeof(MPADecodeContext), sizeof(MPADecodeContext),
decode_init, decode_init,
NULL, NULL,
decode_end, .close = NULL,
decode_frame_adu, decode_frame_adu,
CODEC_CAP_PARSE_ONLY, CODEC_CAP_PARSE_ONLY,
.flush= flush, .flush= flush,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment