changeset 142:da29f147afcb

Better check for number of songlengths.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Jun 2017 09:31:57 +0300
parents 71725be55ed1
children e481947fd051
files sidinfo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Mon Jun 05 08:55:10 2017 +0300
+++ b/sidinfo.c	Mon Jun 05 09:31:57 2017 +0300
@@ -533,7 +533,7 @@
             break;
 
         case 22:
-            if (psid->lengths != NULL)
+            if (psid->lengths != NULL && psid->lengths->nlengths > 0)
             {
                 int i;
                 siPrintFieldPrefix(outFile, opt);