Mercurial > mplayer.hg
diff libaf/window.h @ 32078:0dfbb22d68c8
Get rid of MPLAYER_DSP_H hack and #include dsp.h instead.
If dsp.h #inclusion is a prerequisite for window.h/filter.h, the clean solution
is to have those headers #include dsp.h directly instead of relying on the user.
author | diego |
---|---|
date | Sat, 11 Sep 2010 22:11:40 +0000 |
parents | 72d0b1444141 |
children |
line wrap: on
line diff
--- a/libaf/window.h Sat Sep 11 14:56:52 2010 +0000 +++ b/libaf/window.h Sat Sep 11 22:11:40 2010 +0000 @@ -25,13 +25,11 @@ coefficients will be stored. */ -#if !defined MPLAYER_DSP_H -# error Never use window.h directly; include dsp.h instead. -#endif - #ifndef MPLAYER_WINDOW_H #define MPLAYER_WINDOW_H +#include "dsp.h" + void af_window_boxcar(int n, FLOAT_TYPE* w); void af_window_triang(int n, FLOAT_TYPE* w); void af_window_hanning(int n, FLOAT_TYPE* w);