summaryrefslogtreecommitdiff
path: root/libavcodec/twinvq.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-08-27 15:49:05 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-08-27 15:49:05 +0000
commitd3b60aa685759e7240a561a292d967e76fd2a927 (patch)
treea0593691d5dd206b0c6975cd9720bc4a29d116ed /libavcodec/twinvq.c
parent50e23ae9d3681476392d630e3daba304fa211122 (diff)
100l, revision 19728 added a bug that broke twinvq decoding. I forgot to
multiply the buffer size by the number of channels. Originally committed as revision 19730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/twinvq.c')
-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;