changeset 10388:329e738ac78b

100l found by Koth
author arpi
date Sun, 06 Jul 2003 18:03:11 +0000
parents 274c724a08ec
children 5e2cc92a4170
files mp3lib/layer3.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/layer3.c	Sun Jul 06 13:48:39 2003 +0000
+++ b/mp3lib/layer3.c	Sun Jul 06 18:03:11 2003 +0000
@@ -1012,6 +1012,8 @@
       }
 #endif
 
+//      printf("III_i_st: tab1=%p tab2=%p tab=%d ms=%d  \n", tab1, tab2, tab, ms_stereo);
+
       if (gr_info->block_type == 2) {
          int lwin,do_l = 0;
          if( gr_info->mixed_block_flag )
@@ -1240,7 +1242,7 @@
     stereo1 = 2;
 
   if(fr->mode == MPG_MD_JOINT_STEREO) {
-    ms_stereo = fr->mode_ext & 0x2;
+    ms_stereo = (fr->mode_ext & 0x2)>>1;
     i_stereo  = fr->mode_ext & 0x1;
   } else
     ms_stereo = i_stereo = 0;