diff src/madplug/xing.c @ 997:e46b98155d5d trunk

[svn] - fix a bug which counts number of frames twice in handling xing header. - now fileinfo dialog calculates play length even though TLEN tag exists so that it can overwrite wrong TLEN tag.
author yaz
date Tue, 01 May 2007 12:49:27 -0700
parents 862190d39e00
children 59addab003d7
line wrap: on
line diff
--- a/src/madplug/xing.c	Tue May 01 10:38:27 2007 -0700
+++ b/src/madplug/xing.c	Tue May 01 12:49:27 2007 -0700
@@ -32,6 +32,10 @@
 void xing_init(struct xing *xing)
 {
     xing->flags = 0;
+    xing->frames = 0;
+    xing->bytes = 0;
+    xing->toc[0] = '\0';
+    xing->scale = 0;
 }
 
 /*