Bugzilla – Attachment #27617: patch from Daniel Kobras for bug #64775
fr->mpeg25 = 1;
}
if (!param.tryresync || !oldhead) {
if (!param.tryresync || !oldhead ||
/* If "tryresync" is true, assume that certain
(((oldhead>>19)&0x3) ^ ((newhead>>19)&0x3))) {
parameters do not change within the stream! */
/* If "tryresync" is false, assume that certain
parameters do not change within the stream!
Force an update if lsf or mpeg25 settings
have changed. */
fr->lay = 4-((newhead>>17)&3);
if( ((newhead>>10)&0x3) == 0x3) {
fprintf(stderr,"Stream error\n");
{ alloc_0, alloc_1, alloc_2, alloc_3 , alloc_4 };
static int sblims[5] = { 27 , 30 , 8, 12 , 30 };
if(fr->lsf)
if(fr->sampling_frequency >= 3) /* Or equivalent: (fr->lsf == 1) */
table = 4;
else
table = translate[fr->sampling_frequency][2-fr->stereo][fr->bitrate_index];
mpg123 (0.59r-18) unstable; urgency=high
* common.c, layer2.c: Fix insufficient validation of MPEG header
values, discovered by Yuri D'Elia (CAN-2004-0991).
-- Daniel Kobras <kobras@debian.org> Sat, 1 Jan 2005 20:18:25 +0100
mpg123 (0.59r-17) unstable; urgency=high
* httpget.c: Fix heap overflow in http authentication handler