changeset 679:c8dc00a58f0d trunk

[svn] - remove a bunch of pointless code. we don't do ID3 for raw AAC files at this time.
author nenolod
date Tue, 20 Feb 2007 04:13:46 -0800
parents 9e4145566248
children 3a06665a810e
files ChangeLog src/aac/src/libmp4.c
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 20 04:10:41 2007 -0800
+++ b/ChangeLog	Tue Feb 20 04:13:46 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-20 12:10:41 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1442]
+  - allow static AAC files to play. working on AACplus, but this brings us closer.
+  
+  trunk/src/aac/src/libmp4.c |   99 ++++++++++++++++++++++++++++++++++-----------
+  1 file changed, 76 insertions(+), 23 deletions(-)
+
+
 2007-02-20 10:18:49 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1440]
   - fix missing names in the ChangeLog.
--- a/src/aac/src/libmp4.c	Tue Feb 20 04:10:41 2007 -0800
+++ b/src/aac/src/libmp4.c	Tue Feb 20 04:13:46 2007 -0800
@@ -665,7 +665,7 @@
         g_static_mutex_unlock(&mutex);
         g_thread_exit(NULL);
     }
-    XMMS_NEW_TITLEINPUT(input);
+    input = bmp_title_input_new();
     input->file_name = (char*)g_basename(temp);
     input->file_ext = ext ? ext+1 : NULL;
     input->file_path = temp;
@@ -682,11 +682,9 @@
     if(xmmstitle == NULL)
         xmmstitle = g_strdup(input->file_name);
     if(temp) g_free(temp);
-    if(input->performer) g_free(input->performer);
-    if(input->album_name) g_free(input->album_name);
-    if(input->track_name) g_free(input->track_name);
-    if(input->genre) g_free(input->genre);
-    g_free(input);
+
+    bmp_title_input_free(input);
+
     bufferconsumed = faacDecInit(decoder,
                      buffer,
                      buffervalid,