Fix compilation problems in 'amp' plugin.
Four instances where 'default:' is at the end of a block replaced with 'default: break;' (reported by mscherer). One typo where [j] should have been [1] (array out of bounds error). Missing <unistd.h> includes for _exit(), and <string.h> for memcpy().
This commit is contained in:
@@ -261,7 +261,7 @@ int j,k;
|
||||
for (k=0;k<6;k++)
|
||||
{
|
||||
scalefac_l[0][ch][sfb]=getbits(slen[1]);
|
||||
i+=slen[j];
|
||||
i+=slen[1];
|
||||
if (ch) is_max[sfb]=(1<<slen[1])-1;
|
||||
sfb++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user