Re: [AVFS] amarok skips the initial part of files accessed via avfs+fuse
"Giuseppe Bilotta" <[email protected]> Wed, 9 May 2007 23:20:35 +0200
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
On 5/9/07, Ralf Hoffmann <[email protected]> wrote: > I looked into this problem and was able to reproduce it. The problem > lies in the uzip module (actually it's the file zread.c which is used by > uzip). > > The bug is triggered by seeking to the end of a file in a zip archive > and back to the beginning. This is done by mplayer/xine/amarok/whatever > (probably ID3 tags at the end of the file). > > When seeking back to the beginning, a previously stored zlib stream is > used but the flag iseof is not restored. > > I propose the attached patch, could you please try it and report whether > it solved your problems? It works for me but I only tested mplayer not > amarok. I can confirm that the patch makes the files play correctly in amarok too, thereby fixing the problem. I do get a bunch of: warning: pointer targets in assignment differ in signedness warnings when compiling though. Thanks a lot for fixing this :) -- Giuseppe "Oblomov" Bilotta ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/