summaryrefslogtreecommitdiff
path: root/libavcodec/dct.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/dct.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/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 3fd4e27833..24926a7718 100644
--- a/libavcodec/dct.h
+++ b/libavcodec/dct.h
@@ -28,7 +28,7 @@
#include "rdft.h"
-struct DCTContext {
+typedef struct DCTContext {
int nbits;
int inverse;
RDFTContext rdft;
@@ -36,7 +36,7 @@ struct DCTContext {
FFTSample *csc2;
void (*dct_calc)(struct DCTContext *s, FFTSample *data);
void (*dct32)(FFTSample *out, const FFTSample *in);
-};
+} DCTContext;
/**
* Set up DCT.