changeset 36795:7ee92e6f4d61

hwac3: Remove unused code.
author reimar
date Wed, 19 Feb 2014 23:01:09 +0000
parents 138582cbff16
children e5fc26f7067a
files libmpcodecs/ad_hwac3.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c	Wed Feb 19 16:58:41 2014 +0000
+++ b/libmpcodecs/ad_hwac3.c	Wed Feb 19 23:01:09 2014 +0000
@@ -282,9 +282,7 @@
 {
   int ftype;
   int surp;
-  int unknown_bit;
   int fsize;
-  int amode;
 
   int word_mode;
   int le_mode;
@@ -341,7 +339,6 @@
     surp = (surp + 1) % 32;
 
     /* One unknown bit, crc? */
-    unknown_bit = indata_ptr[4+le_mode] >> 1 & 0x01;
 
     /* NBLKS 7 bits: Valid Range=5-127, Invalid Range=0-4 */
     *nblks = (indata_ptr[4+le_mode] & 0x01) << 6 | indata_ptr[5-le_mode] >> 2;
@@ -357,7 +354,6 @@
     ++fsize;
 
     /* Audio Channel Arrangement ACC AMODE 6 bits */
-    amode = (indata_ptr[7-le_mode] & 0x0f) << 2 | indata_ptr[8+le_mode] >> 6;
 
     /* Source Sampling rate ACC SFREQ 4 bits */
     *sfreq = indata_ptr[8+le_mode] >> 2 & 0x0f;
@@ -400,8 +396,6 @@
     fsize = fsize * 8 / 14 * 2;
 
     /* Audio Channel Arrangement ACC AMODE 6 bits */
-    amode = (indata_ptr[8+le_mode] & 0x03) << 4
-            | (indata_ptr[9-le_mode] & 0xf0) >> 4;
 
     /* Source Sampling rate ACC SFREQ 4 bits */
     *sfreq = indata_ptr[9-le_mode] & 0x0f;