From 69277f986b26dcbae99903eb76e859efb57409ec Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 7 Mar 2009 09:14:45 +0000 Subject: [PATCH] Reduce size of needlessly large mp3lib bandInfoStruct git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28866 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/layer3.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mp3lib/layer3.c b/mp3lib/layer3.c index eeb331eb85..71dec48663 100644 --- a/mp3lib/layer3.c +++ b/mp3lib/layer3.c @@ -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; -- 2.11.4.GIT