summaryrefslogtreecommitdiff
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-27 11:15:17 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-05 13:08:17 -0500
commitadbf61ff8ab48d35f03362130311a2e4920feee9 (patch)
tree2d6d65eb4b3672e132ea57b9370465626d6a97ce /libavcodec/libopencore-amr.c
parent0efa4073bf0da33c227d32a1ae178a47b9b8966a (diff)
libopencore-amr: do not set AVCodecContext.frame_size
It is not necessary
Diffstat (limited to 'libavcodec/libopencore-amr.c')
-rw-r--r--libavcodec/libopencore-amr.c1
1 files changed, 0 insertions, 1 deletions
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;
}