1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00

Small audio thumbnail fix.

This commit is contained in:
jules 2013-03-18 09:25:02 +00:00
parent 0358e95dc9
commit f430fa86f6

View file

@ -128,8 +128,10 @@ void AudioThumbnailCache::storeThumb (const AudioThumbnailBase& thumb,
thumbs.set (findOldestThumb(), te);
}
MemoryOutputStream out (te->data, false);
thumb.saveTo (out);
{
MemoryOutputStream out (te->data, false);
thumb.saveTo (out);
}
saveNewlyFinishedThumbnail (thumb, hashCode);
}