mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 21:12:53 +08:00
Merge remote-tracking branch 'newdev/master'
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
#include "put_bits.h"
|
||||
#include "wmaprodata.h"
|
||||
#include "dsputil.h"
|
||||
#include "sinewin.h"
|
||||
#include "wma.h"
|
||||
|
||||
/** current decoder limitations */
|
||||
@@ -1222,6 +1223,7 @@ static int decode_subframe(WMAProDecodeCtx *s)
|
||||
get_bits_count(&s->gb) - s->subframe_offset);
|
||||
|
||||
if (transmit_coeffs) {
|
||||
FFTContext *mdct = &s->mdct_ctx[av_log2(subframe_len) - WMAPRO_BLOCK_MIN_BITS];
|
||||
/** reconstruct the per channel data */
|
||||
inverse_channel_transform(s);
|
||||
for (i = 0; i < s->channels_for_cur_subframe; i++) {
|
||||
@@ -1246,9 +1248,8 @@ static int decode_subframe(WMAProDecodeCtx *s)
|
||||
quant, end - start);
|
||||
}
|
||||
|
||||
/** apply imdct (ff_imdct_half == DCTIV with reverse) */
|
||||
ff_imdct_half(&s->mdct_ctx[av_log2(subframe_len) - WMAPRO_BLOCK_MIN_BITS],
|
||||
s->channel[c].coeffs, s->tmp);
|
||||
/** apply imdct (imdct_half == DCTIV with reverse) */
|
||||
mdct->imdct_half(mdct, s->channel[c].coeffs, s->tmp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user