From 2c984298a5feba45410b9ed311a09582486dc643 Mon Sep 17 00:00:00 2001 From: gpoirier Date: Tue, 3 Jan 2006 22:06:12 +0000 Subject: Reverse commit 31 Dec 2005 18:56:35 -0000 1.34 This was an incorrect fix made at the codec when it should be done at the demuxer level. static variables in codecs are ALWAYS wrong: the demuxer is supposed to have already removed all the junk Does anyone have an idea of a fix for the demuxer? (discussed on IRC) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17301 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/sr1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mp3lib') diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c index 952f2dcdc8..87ab7dc4b7 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 -static int MP3_resync; +int MP3_resync=0; int MP3_channels=0; int MP3_bps=2; @@ -407,7 +407,6 @@ void MP3_Init(){ _has_mmx = 0; dct36_func = dct36; - MP3_resync = 1; make_decode_tables(outscale); -- cgit v1.2.3