summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.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/dcadec.c
parentdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (diff)
avcodec: Don't anonymously typedef structs
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 8ca8c34510..bb7e020bb2 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -266,7 +266,7 @@ static const int8_t dca_channel_reorder_nolfe_xch[][9] = {
#define DCA_NSYNCAUX 0x9A1105A0
/** Bit allocation */
-typedef struct {
+typedef struct BitAlloc {
int offset; ///< code values offset
int maxbits[8]; ///< max bits in VLC
int wrap; ///< wrap for get_vlc2()
@@ -285,7 +285,7 @@ static av_always_inline int get_bitalloc(GetBitContext *gb, BitAlloc *ba,
ba->offset;
}
-typedef struct {
+typedef struct DCAContext {
AVClass *class; ///< class for AVOptions
AVCodecContext *avctx;
/* Frame header */