Browse Source

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

Seems it was forgotten.
tags/n3.0
Rostislav Pehlivanov 10 years ago
parent
commit
5f760da6b6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/aacenc_utils.h

+ 1
- 1
libavcodec/aacenc_utils.h 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;


Loading…
Cancel
Save