shithub: opus-tools

Download patch

ref: 00caf732431a47e023bd2eb834b43a9e9cdab320
parent: d1354febb0fad9e5e9016530666e5b5974c2aba7
author: Gregory Maxwell <[email protected]>
date: Tue Jul 24 11:29:20 EDT 2012

Avoid \n at the end of the encoder tag, as reported by lvqcl on HA.

--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -298,7 +298,7 @@
   /*Vendor string should just be the encoder library,
     the ENCODER comment specifies the tool used.*/
   comment_init(&comments, &comments_length, opus_version);
-  snprintf(ENCODER_string, sizeof(ENCODER_string), "opusenc from %s %s\n",PACKAGE,VERSION);
+  snprintf(ENCODER_string, sizeof(ENCODER_string), "opusenc from %s %s",PACKAGE,VERSION);
   comment_add(&comments, &comments_length, "ENCODER=", ENCODER_string);
 
   /*Process command-line options*/