dvdcss: Handle failing ioctls more gracefully
commit2fadc18008ab7ec7747b1774a60c93e560ab9001
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 1 Aug 2010 13:52:17 +0000 (1 13:52 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:14:46 +0000 (2 04:14 +0200)
tree090aeb1074ca55ad6eb5dcee502e25e459bd0ec8
parent21a35506636d09daa2367091762cc50ca65cf5a5
dvdcss: Handle failing ioctls more gracefully

Also set b_scrambled and b_ioctls in the dvdcss_test function
instead of both in and outside it and in case of b_scrambled
forgetting to set it half of the time.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31883 b3059339-0415-0410-9bf9-f77b7e298cf2
libdvdcss/css.c
libdvdcss/css.h
libdvdcss/libdvdcss.c