[FFmpeg-soc] [soc]: r5153 - als/alsdec.c

thilo.borgmann subversion at mplayerhq.hu
Sun Aug 16 21:45:53 CEST 2009


Author: thilo.borgmann
Date: Sun Aug 16 21:45:53 2009
New Revision: 5153

Log:
Remove AND mask for joint-stereo check.

Modified:
   als/alsdec.c

Modified: als/alsdec.c
==============================================================================
--- als/alsdec.c	Sun Aug 16 21:27:07 2009	(r5152)
+++ als/alsdec.c	Sun Aug 16 21:45:53 2009	(r5153)
@@ -680,7 +680,7 @@ static int read_block_data(ALSDecContext
             }
         } else {
             // reconstruct difference signal for prediction (joint-stereo)
-            if (*js_blocks & 1 && raw_other) {
+            if (*js_blocks && raw_other) {
                 int i;
                 if (raw_other > raw_samples) {          // D = R - L
                     for (i = -1; i >= -sconf->max_order; i--)
@@ -702,7 +702,7 @@ static int read_block_data(ALSDecContext
             }
 
             // reconstruct normal signal (joint-stereo)
-            if (*js_blocks & 1 && raw_other) {
+            if (*js_blocks && raw_other) {
                 int i;
                 if (raw_other > raw_samples) {          // L = R - D
                     for (i = -1; i >= -sconf->max_order; i--)


More information about the FFmpeg-soc mailing list