mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
Reduce size of needlessly large mp3lib bandInfoStruct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28866 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2ee2d164ce
commit
69277f986b
@ -44,10 +44,10 @@ static real cos9[3],cos18[3];
|
||||
#endif
|
||||
|
||||
struct bandInfoStruct {
|
||||
int longIdx[23];
|
||||
int longDiff[22];
|
||||
int shortIdx[14];
|
||||
int shortDiff[13];
|
||||
uint16_t longIdx[23];
|
||||
uint8_t longDiff[22];
|
||||
uint16_t shortIdx[14];
|
||||
uint8_t shortDiff[13];
|
||||
};
|
||||
|
||||
static int longLimit[9][23];
|
||||
@ -216,7 +216,7 @@ static void init_layer3(int down_sample_sblimit)
|
||||
const struct bandInfoStruct *bi = &bandInfo[j];
|
||||
int *mp;
|
||||
int cb,lwin;
|
||||
const int *bdf;
|
||||
const uint8_t *bdf;
|
||||
|
||||
mp = map[j][0] = mapbuf0[j];
|
||||
bdf = bi->longDiff;
|
||||
|
Loading…
Reference in New Issue
Block a user