On 23/07/14 00:55, Diego Biurrun wrote:
> This allows unconditionally including the public header and cleaning up
> some duplicated declarations. It also allows cleanly eliminating
> redefined typedefs for fft-related context structs.
> ---
> 
> This is the cleanest solution to the redefined typedefs that I found.
> All headers work standalone now and some silly duplication is eliminated.
> 
> It modifies a public header, so some version bump might be necessary,
> maybe also some prefixing of defines.
> 

Do not do that.

If you really want to make it saner you can expose the Fixed structs and
functions and just add the usual #define machinery for the templatized code

#if FFT_FIXED
#define FFTSample FFTSampleFixed
#define FFTDouble FFTDoubleFixed

#include "avfft.h"
#endif

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to