applied hotfix, but this decoder needs to be replaced with something secure and stable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6b0cd2601e
commit
47a758b6c2
@ -264,6 +264,11 @@ int do_layer2(struct mpstr *mp, struct frame *fr,unsigned char *pcm_sample,int *
|
|||||||
fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ?
|
fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ?
|
||||||
(fr->mode_ext<<2)+4 : fr->II_sblimit;
|
(fr->mode_ext<<2)+4 : fr->II_sblimit;
|
||||||
|
|
||||||
|
if (fr->jsbound > fr->II_sblimit) {
|
||||||
|
fprintf(stderr, "libmpg123 layer2: Truncating stereo boundary to sideband limit.\n");
|
||||||
|
fr->jsbound=fr->II_sblimit;
|
||||||
|
}
|
||||||
|
|
||||||
if(stereo == 1 || single == 3)
|
if(stereo == 1 || single == 3)
|
||||||
single = 0;
|
single = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user