Changeset 1023
- Timestamp:
- 10/21/07 12:38:05 (15 months ago)
- Files:
-
- 1 modified
-
trunk/Audio/Properties/WavPackPropertiesReader.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Audio/Properties/WavPackPropertiesReader.m
r868 r1023 27 27 - (BOOL) readProperties:(NSError **)error 28 28 { 29 NSMutableDictionary *propertiesDictionary; 30 NSString *path; 31 WavpackContext *wpc; 32 char errorMsg [80]; 29 NSString *path = [[self valueForKey:StreamURLKey] path]; 33 30 34 path = [[self valueForKey:StreamURLKey] path]; 35 36 wpc = WavpackOpenFileInput([path fileSystemRepresentation], errorMsg, 0, 0); 31 char errorMsg [80]; 32 WavpackContext *wpc = WavpackOpenFileInput([path fileSystemRepresentation], errorMsg, 0, 0); 37 33 if(NULL == wpc) { 38 34 if(nil != error) { … … 51 47 } 52 48 53 propertiesDictionary = [NSMutableDictionary dictionary];49 NSMutableDictionary *propertiesDictionary = [NSMutableDictionary dictionary]; 54 50 55 51 [propertiesDictionary setValue:NSLocalizedStringFromTable(@"WavPack", @"Formats", @"") forKey:PropertiesFileTypeKey];
