1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 17:39:38 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
reimar
2fadc18008 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
2010-11-02 04:14:46 +02:00
reimar
06d20bd774 Sync libdvdcss with their latest SVN.
In particular fixes a wring return value check which caused descrambling
to be aborted for no good reason.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31319 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-06-05 06:41:43 +00:00
diego
6f3e65b6f5 libdvdcss: Fix potential format string crash; check RPC status on disc access.
This merges upstream revisions 223 and 224 + 225.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31157 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 11:10:28 +00:00
diego
ec814ff637 libdvdcss: OS/2 support; this merges upstream revisions 220 and 229.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31156 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 10:58:50 +00:00
diego
da988249d7 libdvdcss: cosmetics: Fix FSF address and program name in license headers.
This merges upstream revisions 219 and 221.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31155 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 10:51:46 +00:00
diego
e915d29f0a Sync libdvdcss with upstream version 1.2.10.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27494 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:22:36 +00:00
diego
c2a12149e2 Sync libdvdcss with upstream version r212.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27474 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-21 13:40:16 +00:00
reimar
6b1453c615 Ignore if we fail to get disc key, fixes playback of one of my DVDs which
claims to be scrambled but actually is not, and always allows to
fallback to cached keys.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26266 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-21 12:31:47 +00:00
diego
fd670000d9 warning fix:
libdvdcss.c:145: warning: redundant redeclaration of 'dvdcss_interface_2'
dvdcss/dvdcss.h:70: warning: previous declaration of 'dvdcss_interface_2' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24554 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-17 13:07:06 +00:00
iive
fd11b253b9 Fix crash on some DVDs
sprintf(tmp,"%.02x",(char)0xef); would print "ffffffef" instead of "ef",
in this case this leads to local array buffer overflow and hard to trace stack corruption.
The quick, easy & durty solution is to use (unsigned char) or (uint8_t)
Fixes Bugzilla 860 & 845


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23728 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-06 23:22:51 +00:00
reimar
7138540983 Fix CSS format strings, they could print more than two digits for
"negative" numbers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23727 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-06 22:07:35 +00:00
diego
689d0cc0f4 Move libdvdcss into its own subdirectory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-03 12:25:56 +00:00