change default extension for ogg flac from .ogg to .oga (SF#1762492: http://sourceforge.net/tracker/index.php?func=detail&aid=1762492&group_id=13478&atid=113478)
diff --git a/src/metaflac/operations.c b/src/metaflac/operations.c
index 204d2a4..e905b76 100644
--- a/src/metaflac/operations.c
+++ b/src/metaflac/operations.c
@@ -117,7 +117,7 @@
die("out of memory allocating chain");
/*@@@@ lame way of guessing the file type */
- if(strlen(filename) >= 4 && 0 == strcmp(filename+strlen(filename)-4, ".ogg"))
+ if(strlen(filename) >= 4 && (0 == strcmp(filename+strlen(filename)-4, ".oga") || 0 == strcmp(filename+strlen(filename)-4, ".ogg")))
is_ogg = true;
if(! (is_ogg? FLAC__metadata_chain_read_ogg(chain, filename) : FLAC__metadata_chain_read(chain, filename)) ) {