[FFmpeg-soc] [soc]: r5399 - aac-sbr/aacsbr.c
superdump
subversion at mplayerhq.hu
Sun Sep 27 16:05:10 CEST 2009
Author: superdump
Date: Sun Sep 27 16:05:10 2009
New Revision: 5399
Log:
Quiet GCC warning about passing qsort_comparison_function() as an argument to
qsort() having different types
Modified:
aac-sbr/aacsbr.c
Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c Sun Sep 27 15:36:31 2009 (r5398)
+++ aac-sbr/aacsbr.c Sun Sep 27 16:05:10 2009 (r5399)
@@ -122,9 +122,9 @@ int array_min_int(int *array, int nel)
return min;
}
-int qsort_comparison_function(const int *a, const int *b)
+int qsort_comparison_function(const void *a, const void *b)
{
- return *a - *b;
+ return *(const int *)a - *(const int *)b;
}
// Master Frequency Band Table (14496-3 sp04 p194)
More information about the FFmpeg-soc
mailing list