[Bugfix] Pt doesn't return length of the next track

fix yellow in mp3_encoder

Change-Id: I1658250141d3ea00b56da0258e111ca76aa56b53
This commit is contained in:
William Wilgus 2024-12-08 00:26:48 -05:00 committed by William Wilgus
parent b14056e90f
commit ebd1021fe4
4 changed files with 6 additions and 1 deletions

View file

@ -1107,7 +1107,7 @@ int HuffmanCod1( short *ix, char *xr_sign, uint32_t begin, uint32_t end, int tbl
case 14: l=3; s = (sgnv << 2) + (sgnw << 1) + sgnx; break;
case 15: l=4; s = (sgnv << 3) + (sgnw << 2) + (sgnx << 1) + sgny; break;
default: /* bug fix */
rb->splashf(HZ * 2, "bad input %d < or > array bounds", p);
rb->splashf(HZ * 2, "bad input %lu < or > array bounds", (unsigned long)p);
return 0;
}