summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisenc.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/vorbisenc.c
parentdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (diff)
avcodec: Don't anonymously typedef structs
Diffstat (limited to 'libavcodec/vorbisenc.c')
-rw-r--r--libavcodec/vorbisenc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/vorbisenc.c b/libavcodec/vorbisenc.c
index 10c7932322..12a97bc058 100644
--- a/libavcodec/vorbisenc.c
+++ b/libavcodec/vorbisenc.c
@@ -39,7 +39,7 @@
#undef NDEBUG
#include <assert.h>
-typedef struct {
+typedef struct vorbis_enc_codebook {
int nentries;
uint8_t *lens;
uint32_t *codewords;
@@ -53,14 +53,14 @@ typedef struct {
float *pow2;
} vorbis_enc_codebook;
-typedef struct {
+typedef struct vorbis_enc_floor_class {
int dim;
int subclass;
int masterbook;
int *books;
} vorbis_enc_floor_class;
-typedef struct {
+typedef struct vorbis_enc_floor {
int partitions;
int *partition_to_class;
int nclasses;
@@ -71,7 +71,7 @@ typedef struct {
vorbis_floor1_entry *list;
} vorbis_enc_floor;
-typedef struct {
+typedef struct vorbis_enc_residue {
int type;
int begin;
int end;
@@ -82,7 +82,7 @@ typedef struct {
float (*maxes)[2];
} vorbis_enc_residue;
-typedef struct {
+typedef struct vorbis_enc_mapping {
int submaps;
int *mux;
int *floor;
@@ -92,12 +92,12 @@ typedef struct {
int *angle;
} vorbis_enc_mapping;
-typedef struct {
+typedef struct vorbis_enc_mode {
int blockflag;
int mapping;
} vorbis_enc_mode;
-typedef struct {
+typedef struct vorbis_enc_context {
int channels;
int sample_rate;
int log2_blocksize[2];