Resolve a zero-length BlockAddID to its default of 1. BlockAdditions are parsed outside the element descriptors, and that manual parse overwrote the preset default with the zero ne_read_uint returns for a zero-length element, which the following add_id == 0 check then rejected: a zero-length BlockAddID failed the whole packet read rather than resolving to 1, the default RFC 9559 Section 5.1.3.5.2.3 declares for it. Read the value only when the element is not empty. libavformat’s matroskadec defaults the same element to 1. Add zerolen_blockaddid.webm.
Resolve a zero-length BlockAddID to its default of 1.
BlockAdditions are parsed outside the element descriptors, and that manual parse overwrote the preset default with the zero ne_read_uint returns for a zero-length element, which the following add_id == 0 check then rejected: a zero-length BlockAddID failed the whole packet read rather than resolving to 1, the default RFC 9559 Section 5.1.3.5.2.3 declares for it. Read the value only when the element is not empty. libavformat’s matroskadec defaults the same element to 1. Add zerolen_blockaddid.webm.
See INSTALL for build instructions.
Licensed under an ISC-style license. See LICENSE for details.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
See INSTALL for build instructions.
Licensed under an ISC-style license. See LICENSE for details.