Do not try to open unsupported file versions.
This commit is contained in:
4 files changed
+42
-28
No files matched your search
@@ -276,12 +276,14 @@
|
||||
{
|
||||
self = [super initWithCoder:decoder];
|
||||
|
||||
_volume = [decoder decodeFloatForKey:@"volume"];
|
||||
if (self) {
|
||||
_volume = [decoder decodeFloatForKey:@"volume"];
|
||||
|
||||
_channels = [decoder decodeInt64ForKey:@"channels"];
|
||||
_channelLayoutTag = [decoder decodeInt64ForKey:@"channelLayoutTag"];
|
||||
_channels = [decoder decodeInt64ForKey:@"channels"];
|
||||
_channelLayoutTag = [decoder decodeInt64ForKey:@"channelLayoutTag"];
|
||||
|
||||
_fallbackTrackId = [decoder decodeInt64ForKey:@"fallbackTrackId"];
|
||||
_fallbackTrackId = [decoder decodeInt64ForKey:@"fallbackTrackId"];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user