summaryrefslogtreecommitdiff
path: root/libavcodec/amrnbdata.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/amrnbdata.h
parent76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff)
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavcodec/amrnbdata.h')
-rw-r--r--libavcodec/amrnbdata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/amrnbdata.h b/libavcodec/amrnbdata.h
index c2e2f8a5e5..b7d1b89608 100644
--- a/libavcodec/amrnbdata.h
+++ b/libavcodec/amrnbdata.h
@@ -55,7 +55,7 @@ enum Mode {
/**
* AMRNB unpacked data subframe
*/
-typedef struct {
+typedef struct AMRNBSubframe {
uint16_t p_lag; ///< index to decode the pitch lag
uint16_t p_gain; ///< index to decode the pitch gain
uint16_t fixed_gain; ///< index to decode the fixed gain factor, for MODE_12k2 and MODE_7k95
@@ -65,7 +65,7 @@ typedef struct {
/**
* AMRNB unpacked data frame
*/
-typedef struct {
+typedef struct AMRNBFrame {
uint16_t lsf[5]; ///< lsf parameters: 5 parameters for MODE_12k2, only 3 for other modes
AMRNBSubframe subframe[4]; ///< unpacked data for each subframe
} AMRNBFrame;