libdvdcss api inconsistency

Gildas Bazin gbazin at netcourrier.com
Thu Jul 5 15:01:42 CEST 2001


On Thu, 5 Jul 2001 Samuel Hocevar
>
>   If dvdcss_read() cannot read as many blocks as asked, it is an error,
>and you shouldn't rely on its output. But since it can be easily fixed,
>I think decrypting bytes can't do any harm. I'll fix this as well.
>

The man page for read() states that this in not an error (an error happens when the function returns -1) but it's just because the file pointer was close to the end of the file and so read() read only the data left.

--
Gildas

------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Une gamme d'outils gratuits et performants à votre service.
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 E TTC/min - 2,21 F TTC/min)
Minitel: 3615 NETCOURRIER (0,15 E TTC/min - 1,00 F TTC/min)





More information about the vlc-devel mailing list