History

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

Seems it was forgotten.

Rostislav Pehlivanov committed 11 years ago

Commit 5f760da1 parent 224a5291 file · +1 −1Browse files

Unified · Split

libavcodec/aacenc_utils.h+1−1
@@ -96,7 +96,7 @@ static inline int find_min_book(float maxval, int sf) · 95 unmodified lines
9696 return cb;
9797 }
9898
99−static float find_form_factor(int group_len, int swb_size, float thresh, const float *scaled, float nzslope) {
99+static inline float find_form_factor(int group_len, int swb_size, float thresh, const float *scaled, float nzslope) {
100100 const float iswb_size = 1.0f / swb_size;
101101 const float iswb_sizem1 = 1.0f / (swb_size - 1);
102102 const float ethresh = thresh;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t