Fix channel reordering when using 24-bit samples by adding breaks to cases

missed by r29427.

Patch submitted by Shane W, shane-mplayer csy ca


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29541 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
tack 2009-08-19 13:29:07 +00:00
parent 11e641f48f
commit 0d0c303ebe
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,7 @@ static int reorder_copy_5ch(void *dest, const void *src,
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, const void *src,
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, unsigned int samples,
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 *src, unsigned int samples,
src_8[i+s3*3+1] = tmp1;
src_8[i+s3*3+2] = tmp2;
}
break;
}
default:
mp_msg(MSGT_GLOBAL, MSGL_WARN,