[FFmpeg-devel] [PATCH] Make bubblesort() a common function
Mon Nov 23 11:13:19 CET 2009
Mike Melanson <mike at multimedia.cx> writes:
> M?ns Rullg?rd wrote:
>> Vitor Sessak <vitor1001 at gmail.com> writes:
>>> $subj, useful for SIPR, maybe also for WMAVoice.
>>> 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.
It's in the C89 standard and has been around longer than that.
mans at mansr.com
More information about the ffmpeg-devel