[xiph-cvs] cvs commit: vorbis-tools/oggdec oggdec.c

Stan Seibert volsung at xiph.org
Mon Sep 1 12:18:28 PDT 2003



volsung     03/09/01 15:18:28

  Modified:    oggdec   oggdec.c
  Log:
  Fix bug 287.

Revision  Changes    Path
1.16      +1 -1      vorbis-tools/oggdec/oggdec.c

Index: oggdec.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggdec/oggdec.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- oggdec.c	19 Mar 2003 09:26:21 -0000	1.15
+++ oggdec.c	1 Sep 2003 19:18:27 -0000	1.16
@@ -211,7 +211,7 @@
     }
     else {
         out = fopen(outfile, "wb");
-        if(!in) {
+        if(!out) {
             fprintf(stderr, "ERROR: Failed to open output file: %s\n", strerror(errno));
             return 1;
         }

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list