Looks like some LAME versions produce dual stereo mode MP3s with flags for intensity and middle stereo set. In this mode those flags should be ignored like the reference decoder and derived ones do.
Also use correct buffer sizes in calls to tm2_read_stream(). Together, this prevents overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: email@example.com
This allows falling back to a binary search if the file contains no index, thus fixing seeking in such files (e.g. luckynight.wma).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
The $(dir) function used to construct OBJDIRS includes a trailing slash in the names returned, which GNU make 3.82 does not match to the slash-less 'doc' in the documentation dependencies, causing parallel build to fail. Adding a slash fixes this and still works with make 3.81. Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
It is not a user-accessible option and unlikely to ever be changed.
…as non-zero size. Otherwise realloc would free it, which would result in double free later.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: email@example.com
Now that a documentation generator is built in the doc directory, this is no longer necessary. Fixes the Make warning: Makefile:188: target `doc' given more than once in the same rule.