80e13c626a
Being here, fix a possible problem which was mentioned in conjunction with CAN-2003-0577 - zero bitrate makes mpg123 assume a negative frame size. bump PKGREVISION
13 lines
400 B
Text
13 lines
400 B
Text
$NetBSD: patch-as,v 1.1 2005/01/07 14:52:13 drochner Exp $
|
|
|
|
--- common.c.orig 1999-06-15 23:24:19.000000000 +0200
|
|
+++ common.c
|
|
@@ -123,7 +123,7 @@ int head_check(unsigned long head)
|
|
return FALSE;
|
|
if(!((head>>17)&3))
|
|
return FALSE;
|
|
- if( ((head>>12)&0xf) == 0xf)
|
|
+ if( ((head>>12)&0xf) == 0xf || ((head>>12)&0xf) == 0)
|
|
return FALSE;
|
|
if( ((head>>10)&0x3) == 0x3 )
|
|
return FALSE;
|