Commit 23ebc1b4 authored by giles's avatar giles

Exit after printing usage instead of trying to open a NULL filename.


git-svn-id: http://svn.annodex.net/liboggz/trunk@3700 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 8992f56a
......@@ -117,6 +117,7 @@ main (int argc, char * argv[])
if (filename == NULL) {
printf ("usage: %s [--verbose] filename\n", argv[0]);
exit(1);
}
if ((oggz = oggz_open (filename, OGGZ_READ | OGGZ_AUTO)) == NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment