diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-10-12 01:12:43 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-10-12 01:12:43 +0100 |
commit | 5f760da6b60033def749a620ee0639b47afcbaec (patch) | |
tree | c439828968091814f9e074d958c3617f1fb9a6d0 /libavcodec/aacenc_utils.h | |
parent | 224a529b449f1c159921fb3014dbd0de591e12c5 (diff) | |
download | ffmpeg-5f760da6b60033def749a620ee0639b47afcbaec.tar.gz |
aacenc_utils: add 'inline' flag to find_form_factor, silence warning
Seems it was forgotten.
Diffstat (limited to 'libavcodec/aacenc_utils.h')
-rw-r--r-- | libavcodec/aacenc_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc_utils.h b/libavcodec/aacenc_utils.h index b2ce22186b..16dad63f61 100644 --- a/libavcodec/aacenc_utils.h +++ b/libavcodec/aacenc_utils.h @@ -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; |