From 69db4e10f27abe4d3a7036d5cdb29e1f9745c7a4 Mon Sep 17 00:00:00 2001 From: Slavik Gnatenko Date: Tue, 11 Mar 2003 12:09:13 +0000 Subject: restoring OS/2 compatibility patch by ("Slavik Gnatenko" ) Originally committed as revision 1663 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/resample.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/resample.c') 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 */ -- cgit v1.2.3