changeset 998:799b321bd9bd trunk

[svn] Return 1 if we encounter an unknown tuple, this seems to happen in files generated by iTunes 7. This works because the file will already be rejected if it isn't ALAC; the format identification tuple is always first. This is however a hack at best, and we should probably look into why this is happening (has iTunes 7 changed the format for M4A containers again?)
author nenolod
date Fri, 04 May 2007 10:59:01 -0700
parents e46b98155d5d
children d338a8beb3d6
files ChangeLog src/alac/demux.c
diffstat 2 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue May 01 12:49:27 2007 -0700
+++ b/ChangeLog	Fri May 04 10:59:01 2007 -0700
@@ -1,3 +1,16 @@
+2007-05-01 19:49:27 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2134]
+  - 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.
+  
+  trunk/src/madplug/decoder.c  |   15 ++++++++++++---
+  trunk/src/madplug/fileinfo.c |    1 +
+  trunk/src/madplug/input.c    |    2 ++
+  trunk/src/madplug/plugin.h   |    4 +++-
+  trunk/src/madplug/xing.c     |    4 ++++
+  5 files changed, 22 insertions(+), 4 deletions(-)
+
+
 2007-05-01 17:38:27 +0000  Ralf Ertzinger <ralf@skytale.net>
   revision [2132]
   
--- a/src/alac/demux.c	Tue May 01 12:49:27 2007 -0700
+++ b/src/alac/demux.c	Fri May 04 10:59:01 2007 -0700
@@ -742,7 +742,9 @@
             stream_skip(qtmovie->stream, chunk_len - 8); /* FIXME not 8 */
             break;
         default:
-            return 0;
+            stream_skip(qtmovie->stream, chunk_len - 8); /* FIXME not 8 */
+	    return 1;
+	    break;
         }
 
     }