Revision 3aee5f69
libavcodec/mpegaudiodec_float.c | ||
---|---|---|
80 | 80 |
} |
81 | 81 |
} |
82 | 82 |
|
83 |
static av_cold int decode_end(AVCodecContext * avctx) |
|
84 |
{ |
|
85 |
MPADecodeContext *s = avctx->priv_data; |
|
86 |
ff_dct_end(&s->dct); |
|
87 |
return 0; |
|
88 |
} |
|
89 |
|
|
83 | 90 |
#if CONFIG_MP1FLOAT_DECODER |
84 | 91 |
AVCodec mp1float_decoder = |
85 | 92 |
{ |
... | ... | |
89 | 96 |
sizeof(MPADecodeContext), |
90 | 97 |
decode_init, |
91 | 98 |
NULL, |
92 |
NULL,
|
|
99 |
decode_end,
|
|
93 | 100 |
decode_frame, |
94 | 101 |
CODEC_CAP_PARSE_ONLY, |
95 | 102 |
.flush= flush, |
... | ... | |
105 | 112 |
sizeof(MPADecodeContext), |
106 | 113 |
decode_init, |
107 | 114 |
NULL, |
108 |
NULL,
|
|
115 |
decode_end,
|
|
109 | 116 |
decode_frame, |
110 | 117 |
CODEC_CAP_PARSE_ONLY, |
111 | 118 |
.flush= flush, |
... | ... | |
121 | 128 |
sizeof(MPADecodeContext), |
122 | 129 |
decode_init, |
123 | 130 |
NULL, |
124 |
NULL,
|
|
131 |
decode_end,
|
|
125 | 132 |
decode_frame, |
126 | 133 |
CODEC_CAP_PARSE_ONLY, |
127 | 134 |
.flush= flush, |
... | ... | |
137 | 144 |
sizeof(MPADecodeContext), |
138 | 145 |
decode_init, |
139 | 146 |
NULL, |
140 |
NULL,
|
|
147 |
decode_end,
|
|
141 | 148 |
decode_frame_adu, |
142 | 149 |
CODEC_CAP_PARSE_ONLY, |
143 | 150 |
.flush= flush, |
Also available in: Unified diff