[FFmpeg-devel] [PATCH] Make bubblesort() a common function

Mike Melanson mike
Mon Nov 23 07:52:17 CET 2009


M?ns Rullg?rd wrote:
> Vitor Sessak <vitor1001 at gmail.com> writes:
> 
>> $subj, useful for SIPR, maybe also for WMAVoice.
>>
>> -Vitor
>> Index: libavcodec/lsp.c
>> ===================================================================
>> --- libavcodec/lsp.c	(revision 20569)
>> +++ libavcodec/lsp.c	(working copy)
>> @@ -173,3 +173,14 @@
>>          lpc2[-lp_half_order] = 0.5*(paf-qaf);
>>      }
>>  }
>> +
>> +void ff_bubblesort(float *lsp, int lp_order)
> 
> Whats wrong with qsort?  It's even standard C.

Define "standard C". What I specifically care about here is whether it 
will compile on all of FATE's machines.

-- 
     -Mike Melanson



More information about the ffmpeg-devel mailing list