alsdec: do not set AVCodecContext.frame_size

It is not necessary
pull/3/merge
Justin Ruggles 13 years ago
parent f1e73100d9
commit 0efa4073bf
  1. 1
      libavcodec/alsdec.c

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

Loading…
Cancel
Save