From c506fb40a86c9946f4fb6634c4bdfc27a1920d36 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 14 Mar 2003 07:24:25 +0000 Subject: [PATCH] * fixing cut&paste bug Originally committed as revision 1682 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/os_support.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h index ab4cb98ae6..443b41df2a 100644 --- a/libavcodec/os_support.h +++ b/libavcodec/os_support.h @@ -24,8 +24,8 @@ #if defined(CONFIG_OS2) #include -static inline usleep(unsigned int t) { return _sleep2((t) / 1000); } -static inline float floatf(float x) { return floor(n); } +static inline int usleep(unsigned int t) { return _sleep2(t / 1000); } +static inline float floatf(float f) { return floor(f); } static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); } #endif