shithub: opus-tools

Download patch

ref: b6e554c46ff879376dbab65bbd54680d55822b6e
parent: af25999bbd6aef6defcefebd489e1cf4abbcd867
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Thu Apr 4 10:28:02 EDT 2013

Fix R128_TRACK_GAIN tags for flac input.

opusenc was emitting an extra '=' character.
Thanks to Jan Janssen for the report.

--- a/src/flac.c
+++ b/src/flac.c
@@ -201,7 +201,7 @@
           track_gain_val=gain<-32768?-32768:gain<32767?(int)floor(gain):32767;
           sprintf(track_gain_buf,"%i",track_gain_val);
           comment_add(&inopt->comments,&inopt->comments_length,
-             "R128_TRACK_GAIN=",track_gain_buf);
+             "R128_TRACK_GAIN",track_gain_buf);
         }
       }
       break;