diff options
author | Slavik Gnatenko <miracle9@newmail.ru> | 2003-03-11 15:09:13 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-11 15:09:13 +0300 |
commit | 69db4e10f27abe4d3a7036d5cdb29e1f9745c7a4 (patch) | |
tree | cc6816441950e87fe37d22dc37ea1dd25e0995d6 /libavcodec/resample.c | |
parent | df99755bda623b8619476697d12eaab3f5af61c3 (diff) |
restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index 209a00808d..ba2bb81da2 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -24,6 +24,10 @@ #include "avcodec.h" +#if defined (CONFIG_OS2) +#define floorf(n) floor(n) +#endif + typedef struct { /* fractional resampling */ uint32_t incr; /* fractional increment */ |