summaryrefslogtreecommitdiff
path: root/libavcodec/rdft.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-18 06:07:26 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-22 11:55:40 -0700
commit11c7155cce50971a38e6cebd39a3ba5a54645fae (patch)
tree8ffdbb5adf117632c58503be408976f7bccbbb8b /libavcodec/rdft.h
parenteba2233b58c2c4b468c58287d6537b2f1188a8cd (diff)
dct/rdft: Add missing typedefs for context structs
Without the typedefs there can be trouble depending on #include order.
Diffstat (limited to 'libavcodec/rdft.h')
-rw-r--r--libavcodec/rdft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rdft.h b/libavcodec/rdft.h
index 8ff620fb59..f9a23ffce0 100644
--- a/libavcodec/rdft.h
+++ b/libavcodec/rdft.h
@@ -48,7 +48,7 @@ extern SINTABLE(16384);
extern SINTABLE(32768);
extern SINTABLE(65536);
-struct RDFTContext {
+typedef struct RDFTContext {
int nbits;
int inverse;
int sign_convention;
@@ -58,7 +58,7 @@ struct RDFTContext {
SINTABLE_CONST FFTSample *tsin;
FFTContext fft;
void (*rdft_calc)(struct RDFTContext *s, FFTSample *z);
-};
+} RDFTContext;
/**
* Set up a real FFT.