From 060e4a9e0627adcda9101dd68ec7f22b4ce22b5b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 23 Jul 2014 07:36:19 -0700 Subject: dct/rdft: Remove duplicate typedefs for context structs The typedefs also exist in the avfft.h header and since typedefs cannot be legally redefined in C, the code fails to compile with some compilers. This reverts commits 11c7155cce and 57f1b1dcc7. --- libavcodec/rdft.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/rdft.h') diff --git a/libavcodec/rdft.h b/libavcodec/rdft.h index f9a23ffce0..8ff620fb59 100644 --- a/libavcodec/rdft.h +++ b/libavcodec/rdft.h @@ -48,7 +48,7 @@ extern SINTABLE(16384); extern SINTABLE(32768); extern SINTABLE(65536); -typedef struct RDFTContext { +struct RDFTContext { int nbits; int inverse; int sign_convention; @@ -58,7 +58,7 @@ typedef struct RDFTContext { SINTABLE_CONST FFTSample *tsin; FFTContext fft; void (*rdft_calc)(struct RDFTContext *s, FFTSample *z); -} RDFTContext; +}; /** * Set up a real FFT. -- cgit v1.2.3