Playlist loader: Allocate larger properties dictionary
This commit is contained in:
parent
ed882e25cb
commit
8a91bc1d09
1 changed files with 2 additions and 2 deletions
|
@ -618,7 +618,7 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
||||||
progress += progressstep;
|
progress += progressstep;
|
||||||
[weakLock unlock];
|
[weakLock unlock];
|
||||||
|
|
||||||
NSMutableDictionary *entryInfo = [NSMutableDictionary dictionaryWithCapacity:20];
|
NSMutableDictionary *entryInfo = [NSMutableDictionary dictionaryWithCapacity:32];
|
||||||
|
|
||||||
NSDictionary *entryProperties = [AudioPropertiesReader propertiesForURL:weakPe.URL];
|
NSDictionary *entryProperties = [AudioPropertiesReader propertiesForURL:weakPe.URL];
|
||||||
if (entryProperties == nil)
|
if (entryProperties == nil)
|
||||||
|
@ -700,7 +700,7 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
||||||
{
|
{
|
||||||
PlaylistEntry *pe = [entries objectAtIndex:idx];
|
PlaylistEntry *pe = [entries objectAtIndex:idx];
|
||||||
|
|
||||||
NSMutableDictionary *entryInfo = [NSMutableDictionary dictionaryWithCapacity:20];
|
NSMutableDictionary *entryInfo = [NSMutableDictionary dictionaryWithCapacity:32];
|
||||||
|
|
||||||
NSDictionary *entryProperties = [AudioPropertiesReader propertiesForURL:pe.URL];
|
NSDictionary *entryProperties = [AudioPropertiesReader propertiesForURL:pe.URL];
|
||||||
if (entryProperties == nil)
|
if (entryProperties == nil)
|
||||||
|
|
Loading…
Reference in a new issue