diff src/filewriter/filewriter.c @ 2950:dcd8d93ba781

- mp3: adapted to lame-3.98. now filewriter writes valid TLEN. - deleted unnecessary variable "written".
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 11 Oct 2008 02:02:41 +0900
parents 11ef2164d90b
children 20ad1c7ff026
line wrap: on
line diff
--- a/src/filewriter/filewriter.c	Sat Oct 04 19:54:04 2008 +0200
+++ b/src/filewriter/filewriter.c	Sat Oct 11 02:02:41 2008 +0900
@@ -79,7 +79,6 @@
 static gchar *file_path = NULL;
 
 VFSFile *output_file = NULL;
-guint64 written = 0;
 guint64 offset = 0;
 Tuple *tuple = NULL;
 
@@ -217,7 +216,7 @@
     {
         gchar *utf8 = aud_tuple_formatter_make_title_string(tuple, aud_get_gentitle_format());
 
-        g_strchomp(utf8); //chop trailing ^J --yaz
+        g_strchomp(utf8); /* chop trailing ^J --yaz */
 
         filename = g_locale_from_utf8(utf8, -1, NULL, NULL, NULL);
         g_free(utf8);
@@ -290,7 +289,6 @@
 
     if (output_file)
     {
-        written = 0;
         aud_vfs_fclose(output_file);
     }
     output_file = NULL;