alsdec: do not set AVCodecContext.frame_size

It is not necessary
This commit is contained in:
Justin Ruggles 2012-02-27 11:02:33 -05:00
parent f1e73100d9
commit 0efa4073bf
1 changed files with 0 additions and 1 deletions

View File

@ -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);