> you may get by adding this line:

Another problem is that OGG is just a container format. The file may not be a 
single vorbis stream, but several, or a video stream, etc. Container formats 
are pretty neat - at least that one tells you what is in the OGG. Your code 
will just tell the user that it is really an ogg, but not much more :(



> 
> /n/sources/plan9//sys/src/cmd/file.c:8011,808 - file.c:800,801 
>       ".\\\"",                "troff input",          3,      "text/plain",
>       ".de",                  "troff input",          3,      "text/plain",
>       ".if",                  "troff input",          3,      "text/plain",
>       ".nr",                  "troff input",          3,      "text/plain",
>       ".tr",                  "troff input",          3,      "text/plain",
> +     "OggS",                 "ogg",                  4,      
> "application/ogg",
>       0,0,0,0
>   };

Reply via email to