Mercurial > libavcodec.hg
comparison dsputil.h @ 802:99db75050d38 libavcodec
NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>
author | al3x |
---|---|
date | Wed, 30 Oct 2002 20:31:04 +0000 |
parents | 8a5b70c68fbd |
children | b78812db886f |
comparison
equal
deleted
inserted
replaced
801:f720b01c0fd5 | 802:99db75050d38 |
---|---|
267 const FFTSample *input, FFTSample *tmp); | 267 const FFTSample *input, FFTSample *tmp); |
268 void ff_mdct_calc(MDCTContext *s, FFTSample *out, | 268 void ff_mdct_calc(MDCTContext *s, FFTSample *out, |
269 const FFTSample *input, FFTSample *tmp); | 269 const FFTSample *input, FFTSample *tmp); |
270 void ff_mdct_end(MDCTContext *s); | 270 void ff_mdct_end(MDCTContext *s); |
271 | 271 |
272 #if defined(__FreeBSD__) || (__bsdi__) | 272 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) |
273 /* XXX: add ISOC specific test to avoid specific BSD testing. */ | 273 /* XXX: add ISOC specific test to avoid specific BSD testing. */ |
274 /* better than nothing implementation. */ | 274 /* better than nothing implementation. */ |
275 /* btw, rintf() is existing on fbsd too -- alex */ | |
275 static inline long int lrintf(float x) | 276 static inline long int lrintf(float x) |
276 { | 277 { |
277 return (int)(rint(x)); | 278 return (int)(rint(x)); |
278 } | 279 } |
279 #endif | 280 #endif |