changeset 2348:790fdbbb2156

Automated merge with ssh://majeru@hg.atheme.org//hg/audacious-plugins
author Cristi Magherusan <majeru@atheme.org>
date Sun, 03 Feb 2008 21:02:06 +0200
parents 549c5f26d312 (current diff) 78a0e19530e2 (diff)
children 08a7d1f7c4a5
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/input.c	Sun Feb 03 21:01:35 2008 +0200
+++ b/src/madplug/input.c	Sun Feb 03 21:02:06 2008 +0200
@@ -408,7 +408,7 @@
 
     // length
     string = input_id3_get_string(info->tag, "TLEN");
-    if (string) {
+    if (string && atoi(string)) {
         aud_tuple_associate_int(tuple, FIELD_LENGTH, NULL, atoi(string));
         AUDDBG("input_read_tag: TLEN = %d\n", atoi(string));
         g_free(string);