~njh-aelius/maxosx/musicbrainz-tags

« back to all changes in this revision

Viewing changes to Decoders/Decoder.m

  • Committer: stephen_booth
  • Date: 2008-04-25 17:50:39 UTC
  • Revision ID: svn-v4:6b6cea13-1402-0410-9567-a7afb52bf336:trunk:1367
Recognize .oga as a valid extension for ogg audio files
Fixes #12

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        NSString                *extension                              = [[filename pathExtension] lowercaseString];
50
50
 
51
51
        // Determine which type of converter to use and create it
52
 
        if([extension isEqualToString:@"ogg"]) {
 
52
        if([extension isEqualToString:@"ogg"] || [extension isEqualToString:@"oga"]) {
53
53
                // Determine the content type of the ogg stream
54
54
                OggStreamType type = oggStreamType(filename);
55
55
                NSAssert(kOggStreamTypeInvalid != type, @"The file does not appear to be an Ogg file.");