summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-19 23:29:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-19 23:29:37 +0200
commit36c2694d83327bb98a328b3ccfb035d0e6bbf44a (patch)
tree5dd5fba83ae84ad5cf93130689122cc50cb733ed /libavcodec/dcadec.c
parentc1f3a4d1e317282d33a78ba84560dead629c1c63 (diff)
dcadec: fix "set but not used" variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 a6ca1ee357..07a29f5b99 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1886,13 +1886,13 @@ static int dca_xbr_parse_frame(DCAContext *s)
/* parse initial header for XXCH and dump details */
static int dca_xxch_decode_frame(DCAContext *s)
{
- int hdr_size, chhdr_crc, spkmsk_bits, num_chsets, core_spk, hdr_pos;
+ int hdr_size, spkmsk_bits, num_chsets, core_spk, hdr_pos;
int i, chset, base_channel, chstart, fsize[8];
/* assume header word has already been parsed */
hdr_pos = get_bits_count(&s->gb) - 32;
hdr_size = get_bits(&s->gb, 6) + 1;
- chhdr_crc = get_bits1(&s->gb);
+ /*chhdr_crc =*/ skip_bits1(&s->gb);
spkmsk_bits = get_bits(&s->gb, 5) + 1;
num_chsets = get_bits(&s->gb, 2) + 1;