mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
wmal: Drop unused variable num_possible_block_size.
This is probably a leftover from WMA Pro. Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
91d3cbe0fd
commit
07933b44dd
@ -173,7 +173,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
WmallDecodeCtx *s = avctx->priv_data;
|
WmallDecodeCtx *s = avctx->priv_data;
|
||||||
uint8_t *edata_ptr = avctx->extradata;
|
uint8_t *edata_ptr = avctx->extradata;
|
||||||
unsigned int channel_mask;
|
unsigned int channel_mask;
|
||||||
int i, log2_max_num_subframes, num_possible_block_sizes;
|
int i, log2_max_num_subframes;
|
||||||
|
|
||||||
s->avctx = avctx;
|
s->avctx = avctx;
|
||||||
init_put_bits(&s->pb, s->frame_data, MAX_FRAMESIZE);
|
init_put_bits(&s->pb, s->frame_data, MAX_FRAMESIZE);
|
||||||
@ -225,7 +225,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
s->max_subframe_len_bit = 0;
|
s->max_subframe_len_bit = 0;
|
||||||
s->subframe_len_bits = av_log2(log2_max_num_subframes) + 1;
|
s->subframe_len_bits = av_log2(log2_max_num_subframes) + 1;
|
||||||
|
|
||||||
num_possible_block_sizes = log2_max_num_subframes + 1;
|
|
||||||
s->min_samples_per_subframe = s->samples_per_frame / s->max_num_subframes;
|
s->min_samples_per_subframe = s->samples_per_frame / s->max_num_subframes;
|
||||||
s->dynamic_range_compression = s->decode_flags & 0x80;
|
s->dynamic_range_compression = s->decode_flags & 0x80;
|
||||||
s->bV3RTM = s->decode_flags & 0x100;
|
s->bV3RTM = s->decode_flags & 0x100;
|
||||||
|
Loading…
Reference in New Issue
Block a user