shithub: opus-tools

Download patch

ref: 8eeac05c5de9e0b48660cdb629e484202bd84171
parent: 95d049532091f675e3622099d7b09acc776da993
author: Ralph Giles <giles@thaumas.net>
date: Tue Jun 9 11:01:49 EDT 2020

opusinfo: Shorted extra packet warning.

I think this is more readable.

--- a/src/info_opus.c
+++ b/src/info_opus.c
@@ -110,8 +110,8 @@
 
         packets++;
         if(header == 1 && packets >= 2) {
-          oi_warn(_("WARNING: Extra packet found in the page containing the Opus headers "
-                    "in Opus stream %d\n"), stream->num);
+          oi_warn(_("WARNING: Extra packet in header page "
+                    "- invalid Opus stream (%d)\n"), stream->num);
         }
         if(inf->doneheaders < 2) {
             if(inf->doneheaders==0 && opus_header_parse(packet.packet,packet.bytes,&inf->oh)!=1) {