summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/twinvq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c
index ba38ddcc78..1bb271c583 100644
--- a/libavcodec/twinvq.c
+++ b/libavcodec/twinvq.c
@@ -860,7 +860,7 @@ static int twin_decode_frame(AVCodecContext * avctx, void *data,
}
tctx->dsp.vector_clipf(out, out, -32700./(1<<15), 32700./(1<<15),
- mtab->size);
+ avctx->channels * mtab->size);
*data_size = mtab->size*avctx->channels*4;