You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
alsdec: do not set AVCodecContext.frame_size
It is not necessary
This commit is contained in:
@@ -1691,7 +1691,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
ctx->reverted_channels = NULL;
|
ctx->reverted_channels = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
avctx->frame_size = sconf->frame_length;
|
|
||||||
channel_size = sconf->frame_length + sconf->max_order;
|
channel_size = sconf->frame_length + sconf->max_order;
|
||||||
|
|
||||||
ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order);
|
ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order);
|
||||||
|
Reference in New Issue
Block a user