cth103 / libdcp

Library for reading and writing Digital Cinema Packages (DCPs).
GNU General Public License v2.0
22 stars 11 forks source link

Allow e.g. larger DKDMs for CPLs with 40+ unique sound and picture assets. #5

Closed mart-jansink closed 4 years ago

mart-jansink commented 4 years ago

I've recently run into the error Unexpectedly long file when trying to generate KDMs for the CPL adbcd644-1cb8-4b81-9479-793b5ad6beff.txt. It has 74 sound and picture assets that are encrypted, causing the DKDM to be larger than the current limit of 64 KB (it's 81 KB to be precise).

Note that I don't expect to ever see a DKDM that's 1 MB big, but I don't see any harm in setting the limit this high either.

cth103 commented 4 years ago

Cool, thanks!