We definitely don't want a global lock, even when not using the chunk cache.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35029 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-01-12 20:22:22 +00:00
parent a2b71035ae
commit 33671742a5

View File

@ -288,8 +288,6 @@ MediaExtractor::GetNextChunk(int32 stream, const void** _chunkBuffer,
return info.status;
#if DISABLE_CHUNK_CACHE
static BLocker locker("media extractor next chunk");
BAutolock lock(locker);
return fReader->GetNextChunk(fStreamInfo[stream].cookie, _chunkBuffer,
_chunkSize, mediaHeader);
#else