[DVDnav-discuss] [PATCH] replace the magic constants in the parental management information

Frédéric Marchal fmarchal at perso.be
Mon Nov 22 21:25:07 CET 2010


Hello,

This patch replaces the hard coded number of levels in the parental management information by a 
constant.

The size of the bit mask was also hard coded to 2 bytes. This patch replaces it by sizeof(uint16_t) 
as it is defined as such in dvdread/ifo_types.h.

Frederic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvdread_replace_ptl_mait_magic_constants.patch
Type: text/x-patch
Size: 1339 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20101122/7e8b3c00/attachment-0001.bin>


More information about the DVDnav-discuss mailing list