diff twinvq.c @ 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 0fa3d21b317e
children eb28ab65409c
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;