[MPlayer-cvslog] r36891 - trunk/libmpcodecs/ad_hwac3.c
reimar
subversion at mplayerhq.hu
Thu Feb 20 00:01:09 CET 2014
Author: reimar
Date: Thu Feb 20 00:01:09 2014
New Revision: 36891
Log:
hwac3: Remove unused code.
Modified:
trunk/libmpcodecs/ad_hwac3.c
Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c Wed Feb 19 17:58:41 2014 (r36890)
+++ trunk/libmpcodecs/ad_hwac3.c Thu Feb 20 00:01:09 2014 (r36891)
@@ -282,9 +282,7 @@ static int dts_decode_header(uint8_t *in
{
int ftype;
int surp;
- int unknown_bit;
int fsize;
- int amode;
int word_mode;
int le_mode;
@@ -341,7 +339,6 @@ static int dts_decode_header(uint8_t *in
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 @@ static int dts_decode_header(uint8_t *in
++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 @@ static int dts_decode_header(uint8_t *in
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;
More information about the MPlayer-cvslog
mailing list