[MPlayer-cvslog] r29541 - trunk/libaf/reorder_ch.c

tack subversion at mplayerhq.hu
Wed Aug 19 15:29:08 CEST 2009


Author: tack
Date: Wed Aug 19 15:29:07 2009
New Revision: 29541

Log:
Fixes channel reordering when using 24-bit samples.  Adds breaks to cases
missed by r29427.

Patch submitted by Shane W, shane-mplayer csy ca

Modified:
   trunk/libaf/reorder_ch.c

Modified: trunk/libaf/reorder_ch.c
==============================================================================
--- trunk/libaf/reorder_ch.c	Wed Aug 19 11:01:37 2009	(r29540)
+++ trunk/libaf/reorder_ch.c	Wed Aug 19 15:29:07 2009	(r29541)
@@ -85,6 +85,7 @@ static int reorder_copy_5ch(void *dest, 
             dest_8[i+13] = src_8[i+s4*3+1];
             dest_8[i+14] = src_8[i+s4*3+2];
         }
+        break;
     }
     case 4:
     {
@@ -163,6 +164,7 @@ static int reorder_copy_6ch(void *dest, 
             dest_8[i+16] = src_8[i+s5*3+1];
             dest_8[i+17] = src_8[i+s5*3+2];
         }
+        break;
     }
     case 4:
     {
@@ -360,6 +362,7 @@ static int reorder_self_2(void *src, uns
             src_8[i+s1*3+1] = tmp1;
             src_8[i+s1*3+2] = tmp2;
         }
+        break;
     }
     case 4:
     {
@@ -626,6 +629,7 @@ static int reorder_self_4_step_2(void *s
             src_8[i+s3*3+1] = tmp1;
             src_8[i+s3*3+2] = tmp2;
         }
+        break;
     }
     default:
         mp_msg(MSGT_GLOBAL, MSGL_WARN,


More information about the MPlayer-cvslog mailing list