[tracker/tracker-0.6] Fixed a compilation error when building without libenca



commit ff7aef1db53cacac54ed0eaa3ac1a8d9aa2b335b
Author: Martyn Russell <martyn imendio com>
Date:   Wed Jun 17 17:49:03 2009 +0100

    Fixed a compilation error when building without libenca

 src/tracker-extract/tracker-extract-mp3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index f918676..08fe0f1 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -593,7 +593,7 @@ get_id3 (const gchar *data,
 
 	g_string_free (s, TRUE);
 #else  /* HAVE_ENCA */
-	encoding = get_encoding (s->str, 90, NULL);
+	encoding = get_encoding (NULL, 0, NULL);
 #endif /* HAVE_ENCA */
 
 	id3->title = g_convert (pos, 30, "UTF-8", encoding, NULL, NULL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]