Mercurial > audlegacy-plugins
diff src/aac/src/libmp4.c @ 1229:c9ff58a0feab
An experimental attempt to reduce the number of stream opens for AAC, by Christian @Joker" Birchinger. Tell him if it breaks.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Tue, 10 Jul 2007 23:04:17 +0100 |
parents | 22a470857579 |
children | f45a99c8bc0d |
line wrap: on
line diff
--- a/src/aac/src/libmp4.c Tue Jul 10 14:21:15 2007 +0900 +++ b/src/aac/src/libmp4.c Tue Jul 10 23:04:17 2007 +0100 @@ -845,9 +845,9 @@ g_thread_exit(NULL); ret = parse_aac_stream(mp4fh); - vfs_fclose(mp4fh); - mp4fh = vfs_fopen(filename, "rb"); + vfs_fseek(mp4fh, 0, SEEK_SET); + mp4cb->read = mp4_read_callback; mp4cb->seek = mp4_seek_callback; mp4cb->user_data = mp4fh;