Author: kmalaussene
Date: Tue Feb 10 22:45:21 2009
New Revision: 4037

Log:
Fix compiler warning in medianf:
"passing argument 4 of ‘qsort’ from incompatible pointer type".

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c Tue Feb 10 22:18:18 2009        (r4036)
+++ amr/amrnbfloatdec.c Tue Feb 10 22:45:21 2009        (r4037)
@@ -824,9 +824,9 @@ static float fixed_gain_prediction(float
  * @return a-b : the result of the comparison
  */
 
-int qsort_compare(const float *a, const float *b)
+int qsort_compare(const void *a, const void *b)
 {
-    float diff = *a - *b;
+    float diff = *(const float *)a - *(const float *)b;
     if(diff > 0.0f)
         return 1;
     if(diff < 0.0f)
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to