[PATCH] taglib: fix parsing of MPEG properties
gregory.petrosyan at gmail.com
Thu Oct 25 18:16:23 CEST 2007
Attached patch fixes parsing of some MPEG files.
Bug description: in MPEG::Properties::read(), lastFrameOffset() can
return near-eof pos (e.g., eof - 2, for file ending with 0xff 0xf8), and after
no more reads from file can be done, so call to
MPEG::File::firstFrameOffset() will return -1, because,
after initial read, buffer will still be empty.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the taglib-devel