From 7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 22 Sep 2014 11:01:31 +0200 Subject: avcodec: Don't anonymously typedef structs --- libavcodec/dcadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/dcadec.c') 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 */ -- cgit v1.2.3