shithub: opus-tools

Download patch

ref: 2f748dc92ea9e35f4134ca91d739b8cccc019e80
parent: ed8978ba404c4d04afca2c2ad46d70e8c6eda5a0
author: Gregory Maxwell <[email protected]>
date: Mon May 7 14:56:28 EDT 2012

.oga->.opus

--- a/src/opusdec.c
+++ b/src/opusdec.c
@@ -352,12 +352,12 @@
 
 void usage(void)
 {
-   printf ("Usage: opusdec [options] input_file.oga [output_file]\n");
+   printf ("Usage: opusdec [options] input_file.opus [output_file]\n");
    printf ("\n");
    printf ("Decodes a Opus file and produce a WAV file or raw file\n");
    printf ("\n");
    printf ("input_file can be:\n");
-   printf ("  filename.oga         regular Opus file\n");
+   printf ("  filename.opus        regular Opus file\n");
    printf ("  -                    stdin\n");
    printf ("\n");
    printf ("output_file can be:\n");
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -99,7 +99,7 @@
 
 void usage(void)
 {
-  printf("Usage: opusenc [options] input_file output_file.oga\n");
+  printf("Usage: opusenc [options] input_file output_file.opus\n");
   printf("\n");
   printf("Encodes input_file using Opus. It can read the WAV, AIFF, or raw files.\n");
   printf("\nGeneral options:\n");
@@ -112,7 +112,7 @@
   printf("  -                 stdin\n");
   printf("\n");
   printf("output_file can be:\n");
-  printf("  filename.oga      compressed file\n");
+  printf("  filename.opus     compressed file\n");
   printf("  -                 stdout\n");
   printf("\nEncoding options:\n");
   printf(" --speech           Optimize for speech\n");