[FFmpeg-cvslog] aacenc_utils: add 'inline' flag to find_form_factor, silence warning
Rostislav Pehlivanov
git at videolan.org
Mon Oct 12 02:14:06 CEST 2015
ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Mon Oct 12 01:12:43 2015 +0100| [5f760da6b60033def749a620ee0639b47afcbaec] | committer: Rostislav Pehlivanov
aacenc_utils: add 'inline' flag to find_form_factor, silence warning
Seems it was forgotten.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f760da6b60033def749a620ee0639b47afcbaec
---
libavcodec/aacenc_utils.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aacenc_utils.h b/libavcodec/aacenc_utils.h
index b2ce221..16dad63 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;
More information about the ffmpeg-cvslog
mailing list