Mercurial > mplayer.hg
diff mp3lib/layer1.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 1b1fdac4a68c |
children | 347d152a5cfa |
line wrap: on
line diff
--- a/mp3lib/layer1.c Tue May 12 19:25:35 2009 +0000 +++ b/mp3lib/layer1.c Wed May 13 02:58:57 2009 +0000 @@ -1,10 +1,10 @@ -/* - * Mpeg Layer-1 audio decoder +/* + * Mpeg Layer-1 audio decoder * -------------------------- * copyright (c) 1995 by Michael Hipp, All rights reserved. See also 'README' * near unoptimzed ... * - * may have a few bugs after last optimization ... + * may have a few bugs after last optimization ... * */ @@ -28,7 +28,7 @@ if(fr->stereo == 2) { int i; int jsbound = fr->jsbound; - for (i=0;i<jsbound;i++) { + for (i=0;i<jsbound;i++) { *ba++ = getbits(4); *ba++ = getbits(4); } @@ -80,7 +80,7 @@ if ((n = *ba++)) *sample++ = getbits(n+1); } - for (i=jsbound;i<SBLIMIT;i++) + for (i=jsbound;i<SBLIMIT;i++) if ((n = *ba++)) *sample++ = getbits(n+1); @@ -137,7 +137,7 @@ // printf("do_layer1(0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X )\n", // wordpointer[0],wordpointer[1],wordpointer[2],wordpointer[3],wordpointer[4],wordpointer[5],wordpointer[6],wordpointer[7]); - fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ? + fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ? (fr->mode_ext<<2)+4 : 32; if(stereo == 1 || single == 3)