summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdata.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/qcelpdata.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/qcelpdata.h')
-rw-r--r--libavcodec/qcelpdata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qcelpdata.h b/libavcodec/qcelpdata.h
index 4c6cf15e3e..319833e904 100644
--- a/libavcodec/qcelpdata.h
+++ b/libavcodec/qcelpdata.h
@@ -37,7 +37,7 @@
/**
* QCELP unpacked data frame
*/
-typedef struct {
+typedef struct QCELPFrame {
/// @name QCELP excitation codebook parameters
/// @{
uint8_t cbsign[16]; ///< sign of the codebook gain for each codebook subframe
@@ -73,7 +73,7 @@ typedef struct {
*/
static const float qcelp_hammsinc_table[4] = { -0.006822, 0.041249, -0.143459, 0.588863};
-typedef struct {
+typedef struct QCELPBitmap {
uint8_t index; /**< index into the QCELPContext structure */
uint8_t bitpos; /**< position of the lowest bit in the value's byte */
uint8_t bitlen; /**< number of bits to read */