Revision 015f9f1a libavcodec/twinvq.c

View differences:

libavcodec/twinvq.c
783 783
            dec_bark_env(tctx, bark1[i][j], bark_use_hist[i][j], i,
784 784
                         tctx->tmp_buf, gain[sub*i+j], ftype);
785 785

  
786
            tctx->dsp.vector_fmul(chunk + block_size*j, tctx->tmp_buf,
786
            tctx->dsp.vector_fmul(chunk + block_size*j, chunk + block_size*j, tctx->tmp_buf,
787 787
                                  block_size);
788 788

  
789 789
        }
......
805 805
        dec_lpc_spectrum_inv(tctx, lsp, ftype, tctx->tmp_buf);
806 806

  
807 807
        for (j = 0; j < mtab->fmode[ftype].sub; j++) {
808
            tctx->dsp.vector_fmul(chunk, tctx->tmp_buf, block_size);
808
            tctx->dsp.vector_fmul(chunk, chunk, tctx->tmp_buf, block_size);
809 809
            chunk += block_size;
810 810
        }
811 811
    }

Also available in: Unified diff