changeset 10106:a04aca5587a7 libavcodec

100l, revision 19728 added a bug that broke twinvq decoding. I forgot to multiply the buffer size by the number of channels.
author vitor
date Thu, 27 Aug 2009 15:49:05 +0000
parents 7775f6627612
children 3b61bc6ce377
files twinvq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/twinvq.c	Thu Aug 27 15:38:59 2009 +0000
+++ b/twinvq.c	Thu Aug 27 15:49:05 2009 +0000
@@ -860,7 +860,7 @@
     }
 
     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;