Mercurial > audlegacy-plugins
diff src/alac/demux.c @ 1003:2c9d1eb6e8a6 trunk
[svn] - fix itunes7 hack
author | nenolod |
---|---|
date | Sun, 06 May 2007 10:59:18 -0700 |
parents | 799b321bd9bd |
children | 233cb5dffbf7 |
line wrap: on
line diff
--- a/src/alac/demux.c Sat May 05 12:11:33 2007 -0700 +++ b/src/alac/demux.c Sun May 06 10:59:18 2007 -0700 @@ -703,9 +703,7 @@ chunk_len = stream_read_uint32(qtmovie->stream); if (stream_eof(qtmovie->stream)) - { return 0; - } if (chunk_len == 1) return 0; @@ -721,9 +719,7 @@ if (read_chunk_moov(qtmovie, chunk_len) == 0) return 0; /* failed to read moov, can't do anything */ if (found_mdat) - { return set_saved_mdat(qtmovie); - } found_moov = 1; break; /* if we hit mdat before we've found moov, record the position @@ -742,9 +738,7 @@ stream_skip(qtmovie->stream, chunk_len - 8); /* FIXME not 8 */ break; default: - stream_skip(qtmovie->stream, chunk_len - 8); /* FIXME not 8 */ - return 1; - break; + return found_moov; } }