Commit 0efa4073 authored by Justin Ruggles's avatar Justin Ruggles

alsdec: do not set AVCodecContext.frame_size

It is not necessary
parent f1e73100
......@@ -1691,7 +1691,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
ctx->reverted_channels = NULL;
}
avctx->frame_size = sconf->frame_length;
channel_size = sconf->frame_length + sconf->max_order;
ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order);
......
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