[MPlayer-users] Crash seeking to chapters in a multi-VTS DVD if title is gt 1

Ilja Sekler ilja_sekler_ at gmx.de
Thu Jan 1 10:52:31 CET 2009

On 31.12.2008 19:02, Nico Sabbi wrote:

> Il giorno mer, 31/12/2008 alle 15.06 +0100, Reimar Döffinger ha
> scritto:
>> AFAICT the dvdread API is supposed to return 0 on error (I have no
>> clue what then the point is of allowing negative values, since I
>> can't see how they would make any sense, I only see this API
>> behaviour bloating up the libdvdread code for no good reason). 
>> Problem is, dvdcss read function may also return negative values on
>> read errors, and the return values of dvdcss are passed through. So
>> we will end up with len < 0 here and thus an endless loop. Changing
>> !len to len <= 0 fixes it, and while I am in favour of such a fix
>> it breaks the dvdread API.
> thanks for fixing it :)

Unfortunately, the fix for the hang seeking to chapters > max available
doesn't help against the crash
It is apparently a different bug.



More information about the MPlayer-users mailing list