On Mon, Jun 08, 2009 at 09:32:43PM +0200, Benjamin Larsson wrote: > + /* First packet starts at 0x800 */ > + url_fseek(s->pb, 0x800, SEEK_SET); You should set data_offset to this, without it I think you can get issues when seeking to the start of the file in some cases.