Work around a dvdread bug where DVDReadBlocks would return values < 0 on read error,
commita2c2268cdf6a2c5140084d61000144123f325ee3
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 31 Dec 2008 14:21:50 +0000 (31 14:21 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 31 Dec 2008 14:21:50 +0000 (31 14:21 +0000)
tree046431440563d27fe0100c0937f866d2f2bc65ab
parent80cf4355292d1975018d7d449520530293b985f4
Work around a dvdread bug where DVDReadBlocks would return values < 0 on read error,
causing hangs e.g. when seeking to the very last chapter (which would read beyond the
size of the DVD).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28216 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/stream_dvd.c