[FFmpeg-soc] [soc]: r2768 - amr/amrnbfloatdec.c
superdump
subversion at mplayerhq.hu
Sat Jul 12 22:23:44 CEST 2008
Author: superdump
Date: Sat Jul 12 22:23:44 2008
New Revision: 2768
Log:
Got src and dest mixed up in memcpy()
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c (original)
+++ amr/amrnbfloatdec.c Sat Jul 12 22:23:44 2008
@@ -902,7 +902,7 @@ int qsort_compare(const float *a, const
static float medianf(float *values, int n) {
float temp[9]; // largest n used for median calculation is 9
- memcpy(values, temp, n*sizeof(float));
+ memcpy(temp, values, n * sizeof(float));
qsort(temp, n, sizeof(float), qsort_compare);
More information about the FFmpeg-soc
mailing list