From beb89275f5affd646b90a2d59e223ffee5f52a0c Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 17 Jun 2007 20:14:00 +0000 Subject: [PATCH] Synchronize even at begin of the file, some avi files contain garbage at the beginning git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21443 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp index 48f1033474..192d177ae9 100644 --- a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp +++ b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp @@ -99,7 +99,7 @@ mp3Decoder::mp3Decoder() fBitRate = 0; fChannelCount = 0; fOutputBufferSize = 0; - fNeedSync = false; + fNeedSync = true; // some files start with garbage fDecodingError = false; }