VGMStream Decoder: Fix mutable dictionary

This dictionary was replaced with an inline literal declaration, but
this defines an immutable dictionary. Change it to a mutable copy.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-03-06 03:57:03 -08:00
parent ab8154348e
commit 183a03657d
1 changed files with 3 additions and 3 deletions

View File

@ -175,9 +175,9 @@ static NSString *get_description_tag(const char *description, const char *tag, c
if([track isEqualToNumber:[NSNumber numberWithInt:0]])
track = [NSNumber numberWithInt:track_num];
NSMutableDictionary *mutableMetadata = @{@"title": title,
@"track": track,
@"disc": disc};
NSMutableDictionary *mutableMetadata = [@{ @"title": title,
@"track": track,
@"disc": disc } mutableCopy];
if(![album isEqualToString:@""])
[mutableMetadata setValue:album forKey:@"album"];