1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

aacenc_utils: add 'inline' flag to find_form_factor, silence warning

Seems it was forgotten.
This commit is contained in:
Rostislav Pehlivanov 2015-10-12 01:12:43 +01:00
parent 224a529b44
commit 5f760da6b6

View File

@ -96,7 +96,7 @@ static inline int find_min_book(float maxval, int sf)
return cb;
}
static float find_form_factor(int group_len, int swb_size, float thresh, const float *scaled, float nzslope) {
static inline float find_form_factor(int group_len, int swb_size, float thresh, const float *scaled, float nzslope) {
const float iswb_size = 1.0f / swb_size;
const float iswb_sizem1 = 1.0f / (swb_size - 1);
const float ethresh = thresh;