Modified the KLV parser to return RESULT_ALLOC instead of RESULT_FAIL when an attempt...
authorjhurst <jhurst@cinecert.com>
Wed, 10 Nov 2021 20:52:24 +0000 (12:52 -0800)
committerjhurst <jhurst@cinecert.com>
Wed, 10 Nov 2021 20:52:24 +0000 (12:52 -0800)
commitde79726588c46d1c0756808075e8d96b5628e2c5
tree549ed0a4a79fc8443c911dee452626ca89ce8b2c
parentfeba38c3802863fe783a750e0f866af9ad834f7f
Modified the KLV parser to return RESULT_ALLOC instead of RESULT_FAIL when an attempt is made to read a packet that is larger than the internal limit. The file handle is Seek()ed to the first byte following the huge packet, allowing the caller to get over it and continue parsing MXF.
src/KLV.cpp