changeset 17300:335ca842bf7e

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)
author gpoirier
date Tue, 03 Jan 2006 22:06:12 +0000
parents 6b218db46f2a
children bbf5438d646a
files mp3lib/sr1.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/sr1.c	Tue Jan 03 22:05:03 2006 +0000
+++ b/mp3lib/sr1.c	Tue Jan 03 22:06:12 2006 +0000
@@ -45,7 +45,7 @@
 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 @@
 
     _has_mmx = 0;
     dct36_func = dct36;
-    MP3_resync = 1;
 
     make_decode_tables(outscale);