summaryrefslogtreecommitdiff
path: root/libavcodec/atrac1.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/atrac1.c
parentdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (diff)
downloadffmpeg-7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0.tar.gz
avcodec: Don't anonymously typedef structs
Diffstat (limited to 'libavcodec/atrac1.c')
-rw-r--r--libavcodec/atrac1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c
index 9a897852a7..5c8f96a31c 100644
--- a/libavcodec/atrac1.c
+++ b/libavcodec/atrac1.c
@@ -57,7 +57,7 @@
/**
* Sound unit struct, one unit is used per channel
*/
-typedef struct {
+typedef struct AT1SUCtx {
int log2_block_count[AT1_QMF_BANDS]; ///< log2 number of blocks in a band
int num_bfus; ///< number of Block Floating Units
float* spectrum[2];
@@ -71,7 +71,7 @@ typedef struct {
/**
* The atrac1 context, holds all needed parameters for decoding
*/
-typedef struct {
+typedef struct AT1Ctx {
AT1SUCtx SUs[AT1_MAX_CHANNELS]; ///< channel sound unit
DECLARE_ALIGNED(32, float, spec)[AT1_SU_SAMPLES]; ///< the mdct spectrum buffer