Commit Graph

4 Commits

Author SHA1 Message Date
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