Browse Source

alsdec: do not set AVCodecContext.frame_size

It is not necessary
tags/n0.11
Justin Ruggles 13 years ago
parent
commit
0efa4073bf
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/alsdec.c

+ 0
- 1
libavcodec/alsdec.c 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);


Loading…
Cancel
Save