Mercurial > mplayer.hg
view loader/wine/pshpack1.h @ 24888:b2402b4f0afa
libaf: change filter input/output ratio calculations
Change the audio filters to use a double instead of rationals for the
ratio of output to input size. The rationals could overflow when
calculating the overall ratio of a filter chain and gave no real
advantage compared to doubles.
author | uau |
---|---|
date | Thu, 01 Nov 2007 06:52:01 +0000 |
parents | c98c9e7f3bd0 |
children | f1b223278b20 |
line wrap: on
line source
#ifndef WINE_PSHPACK_H #define WINE_PSHPACK_H 1 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) //#pragma pack(1) #elif !defined(RC_INVOKED) #error "1 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* !defined(WINE_PSHPACK_H) */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* !defined(WINE_PSHPACK_H) */