diff options
author | Zdenek Kabelac | 2003-02-10 09:35:32 +0000 |
---|---|---|
committer | Zdenek Kabelac | 2003-02-10 09:35:32 +0000 |
commit | 5c91a6755b6412c918e20ff4735ca30f38a12569 (patch) | |
tree | 054521cdfc6d752e89883ef3fcfc05d6c31fd94c /libavcodec/resample.c | |
parent | cd66005ddaebba2d6cb3b4eae75f70ae2446b204 (diff) |
* static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index b80bea3997..d3984bf803 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -43,7 +43,7 @@ struct ReSampleContext { static void init_mono_resample(ReSampleChannelContext *s, float ratio) { ratio = 1.0 / ratio; - s->iratio = (int)floor(ratio); + s->iratio = (int)floorf(ratio); if (s->iratio == 0) s->iratio = 1; s->incr = (int)((ratio / s->iratio) * FRAC); |