aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alsdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-27 11:02:33 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-05 13:08:17 -0500
commit0efa4073bf0da33c227d32a1ae178a47b9b8966a (patch)
tree1815a787e0872b149a1aea4ac6dc11a8ed429052 /libavcodec/alsdec.c
parentf1e73100d94ba2ee1925372151482ee7b17f48f3 (diff)
downloadffmpeg-0efa4073bf0da33c227d32a1ae178a47b9b8966a.tar.gz
alsdec: do not set AVCodecContext.frame_size
It is not necessary
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r--libavcodec/alsdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index bdc0be1934..1b916e4ff2 100644
--- a/libavcodec/alsdec.c
+++ b/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);