summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 11:01:31 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:49 -0800
commit7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0 (patch)
tree5468ce1ec8288ea779ea3754620d6bddcf22e918 /libavcodec/vorbisdec.c
parentdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (diff)
avcodec: Don't anonymously typedef structs
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r--libavcodec/vorbisdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index d7fec98c6e..dbcc1cd911 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -42,7 +42,7 @@
#define V_MAX_VLCS (1 << 16)
#define V_MAX_PARTITIONS (1 << 20)
-typedef struct {
+typedef struct vorbis_codebook {
uint8_t dimensions;
uint8_t lookup_type;
uint8_t maxdepth;
@@ -58,7 +58,7 @@ struct vorbis_context_s;
typedef
int (* vorbis_floor_decode_func)
(struct vorbis_context_s *, vorbis_floor_data *, float *);
-typedef struct {
+typedef struct vorbis_floor {
uint8_t floor_type;
vorbis_floor_decode_func decode;
union vorbis_floor_u {
@@ -88,7 +88,7 @@ typedef struct {
} data;
} vorbis_floor;
-typedef struct {
+typedef struct vorbis_residue {
uint16_t type;
uint32_t begin;
uint32_t end;
@@ -101,7 +101,7 @@ typedef struct {
uint8_t *classifs;
} vorbis_residue;
-typedef struct {
+typedef struct vorbis_mapping {
uint8_t submaps;
uint16_t coupling_steps;
uint8_t *magnitude;
@@ -111,7 +111,7 @@ typedef struct {
uint8_t submap_residue[16];
} vorbis_mapping;
-typedef struct {
+typedef struct vorbis_mode {
uint8_t blockflag;
uint16_t windowtype;
uint16_t transformtype;