diff --git a/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp b/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp index 3cd80843f9..50623473e2 100644 --- a/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp +++ b/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp @@ -312,12 +312,6 @@ done: Decoder * SpeexDecoderPlugin::NewDecoder(uint index) { - static BLocker locker; - static bool initdone = false; - BAutolock lock(locker); - if (!initdone) { - initdone = true; - } return new SpeexDecoder; }