summaryrefslogtreecommitdiff
path: root/libavcodec/dct.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-23 07:36:19 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-25 02:02:15 -0700
commit060e4a9e0627adcda9101dd68ec7f22b4ce22b5b (patch)
treeb48aabc5da70a02eb6cff94f4a460771aeebf29f /libavcodec/dct.h
parent436ced244fadcde2c0b925627920e84b25482542 (diff)
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.
Diffstat (limited to 'libavcodec/dct.h')
-rw-r--r--libavcodec/dct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct.h b/libavcodec/dct.h
index 24926a7718..3fd4e27833 100644
--- a/libavcodec/dct.h
+++ b/libavcodec/dct.h
@@ -28,7 +28,7 @@
#include "rdft.h"
-typedef struct DCTContext {
+struct DCTContext {
int nbits;
int inverse;
RDFTContext rdft;
@@ -36,7 +36,7 @@ typedef struct DCTContext {
FFTSample *csc2;
void (*dct_calc)(struct DCTContext *s, FFTSample *data);
void (*dct32)(FFTSample *out, const FFTSample *in);
-} DCTContext;
+};
/**
* Set up DCT.