summaryrefslogtreecommitdiffstats
path: root/mp3lib
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib')
-rw-r--r--mp3lib/sr1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index 87ab7dc4b7..952f2dcdc8 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -45,7 +45,7 @@ int MP3_fpos=0; // current file position
int MP3_framesize=0; // current framesize
int MP3_bitrate=0; // current bitrate
int MP3_samplerate=0; // current samplerate
-int MP3_resync=0;
+static int MP3_resync;
int MP3_channels=0;
int MP3_bps=2;
@@ -407,6 +407,7 @@ void MP3_Init(){
_has_mmx = 0;
dct36_func = dct36;
+ MP3_resync = 1;
make_decode_tables(outscale);