summaryrefslogtreecommitdiffstats
path: root/libfaad2/hcr.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-02 22:59:04 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-02 22:59:04 +0000
commit228ca70d485e2660c2e381d7112cbcca65c156a0 (patch)
treef7ab4303f2daa68c76271787a60d50cb1ada2e46 /libfaad2/hcr.c
parenteb1dee5cbf86fba8d5081bae6071cc4a4fd68306 (diff)
downloadmpv-228ca70d485e2660c2e381d7112cbcca65c156a0.tar.bz2
mpv-228ca70d485e2660c2e381d7112cbcca65c156a0.tar.xz
update to the 2.0 release of faad, patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12528 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libfaad2/hcr.c')
-rw-r--r--libfaad2/hcr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libfaad2/hcr.c b/libfaad2/hcr.c
index d27ed170b9..418d37dbda 100644
--- a/libfaad2/hcr.c
+++ b/libfaad2/hcr.c
@@ -1,6 +1,6 @@
/*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
-** Copyright (C) 2002 A. Kurpiers
+** Copyright (C) 2002-2004 A. Kurpiers
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -22,10 +22,9 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
-** $Id: hcr.c,v 1.1 2003/08/30 22:30:21 arpi Exp $
+** $Id: hcr.c,v 1.2 2003/10/03 22:22:27 alex Exp $
**/
-
#include "common.h"
#include "structs.h"
@@ -154,11 +153,10 @@ uint8_t reordered_spectral_data(faacDecHandle hDecoder, ic_stream *ics, bitfile
bits_t Segment[ 512 ];
uint8_t PCW_decoded=0;
- uint16_t segment_index=0, codeword_index=0;
uint16_t nshort = hDecoder->frameLength/8;
- memset (spectral_data, 0, hDecoder->frameLength*sizeof(uint16_t));
+ /*memset (spectral_data, 0, hDecoder->frameLength*sizeof(uint16_t));*/
if (ics->length_of_reordered_spectral_data == 0)
return 0; /* nothing to do */