X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flsp.c;h=9aba020ebbbab717732b727d7e321be229b8b344;hb=69c38d64d745c678f2f596f5932a5121b7aafc07;hp=17f59ea77d0ef4df5a9e5350de0bdf1674750a76;hpb=d5fb087e03aa988b88569b6e85e7c15cee6e159e;p=ffmpeg diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c index 17f59ea77d0..9aba020ebbb 100644 --- a/libavcodec/lsp.c +++ b/libavcodec/lsp.c @@ -34,7 +34,7 @@ void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, in { int i, j; - /* sort lsfq in ascending order. float bubble agorithm, + /* sort lsfq in ascending order. float bubble algorithm, O(n) if data already sorted, O(n^2) - otherwise */ for(i=0; i=0 && lsfq[j] > lsfq[j+1]; j--)