From adbf61ff8ab48d35f03362130311a2e4920feee9 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 27 Feb 2012 11:15:17 -0500 Subject: libopencore-amr: do not set AVCodecContext.frame_size It is not necessary --- libavcodec/libopencore-amr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/libopencore-amr.c') diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 9e2c5f160b..968b3fb73f 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -33,7 +33,6 @@ static void amr_decode_fix_avctx(AVCodecContext *avctx) if (!avctx->channels) avctx->channels = 1; - avctx->frame_size = 160 * is_amr_wb; avctx->sample_fmt = AV_SAMPLE_FMT_S16; } -- cgit v1.2.3