aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpc.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-27 10:19:53 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-06 09:27:11 +0200
commite4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch)
treea1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavcodec/mpc.h
parent76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff)
downloadffmpeg-e4cbf7529ba4bcfff47c44b0d026ecb356004c8c.tar.gz
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavcodec/mpc.h')
-rw-r--r--libavcodec/mpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpc.h b/libavcodec/mpc.h
index 2ee3c6d416..86d4b6d393 100644
--- a/libavcodec/mpc.h
+++ b/libavcodec/mpc.h
@@ -41,7 +41,7 @@
#define MPC_FRAME_SIZE (BANDS * SAMPLES_PER_BAND)
/** Subband structure - hold all variables for each subband */
-typedef struct {
+typedef struct Band {
int msf; ///< mid-stereo flag
int res[2];
int scfi[2];
@@ -49,7 +49,7 @@ typedef struct {
int Q[2];
}Band;
-typedef struct {
+typedef struct MPCContext {
AVFrame frame;
DSPContext dsp;
MPADSPContext mpadsp;