# HG changeset patch # User nenolod # Date 1178301541 25200 # Node ID 799b321bd9bd7602a6d4204c1f1376003a05d027 # Parent e46b98155d5d08bccba5e9fcdbe7c28aa27fcffe [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?) diff -r e46b98155d5d -r 799b321bd9bd ChangeLog --- 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 + 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 revision [2132] diff -r e46b98155d5d -r 799b321bd9bd src/alac/demux.c --- 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; } }