summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-01 17:26:27 +0100
committerMans Rullgard <mans@mansr.com>2011-06-02 20:06:00 +0100
commite65ab9d94f1c8d8893e32d90467d9525625d306a (patch)
tree032ea02dc36a1510af2807848d961f024e8a052e /libavcodec/dca.c
parent808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff)
downloadffmpeg-e65ab9d94f1c8d8893e32d90467d9525625d306a.tar.gz
Remove unused variables
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index dbadebacff..a9b2c9b0c9 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -1535,8 +1535,6 @@ static void dca_exss_parse_header(DCAContext *s)
{
int ss_index;
int blownup;
- int header_size;
- int hd_size;
int num_audiop = 1;
int num_assets = 1;
int active_ss_mask[8];
@@ -1549,8 +1547,8 @@ static void dca_exss_parse_header(DCAContext *s)
ss_index = get_bits(&s->gb, 2);
blownup = get_bits1(&s->gb);
- header_size = get_bits(&s->gb, 8 + 4 * blownup) + 1;
- hd_size = get_bits_long(&s->gb, 16 + 4 * blownup) + 1;
+ skip_bits(&s->gb, 8 + 4 * blownup); // header_size
+ skip_bits(&s->gb, 16 + 4 * blownup); // hd_size
s->static_fields = get_bits1(&s->gb);
if (s->static_fields) {