shithub: sox

Download patch

ref: 1ace4fa764ebe898d463064592a6fbbe1bc194fd
parent: a1330dd9e6d91aa52faa914a9f38eb5790edde8a
author: robs <robs>
date: Sun May 17 09:02:55 EDT 2009

fix no comment for output file

--- a/src/sox.c
+++ b/src/sox.c
@@ -2150,7 +2150,7 @@
 
       case 4:
         sox_append_comment(&f->oob.comments, "");
-        if (optarg)
+        if (*optarg)
           sox_append_comment(&f->oob.comments, optarg);
         break;