Skip to content

Fix #1508: Use correct chroma format in call to verifyPlane

After reading the input VideoIOYuv::read checks coefficient values using verifyPlane. However the chroma format passed in for this check is the internal format not the input format. When using 444 as input but 422 or 420 as the internal format this leads to verifyPlane reading beyond the end of the input video data.

Fix is to use picOrg.chromaFormat rather than format in the call to verifyPlane.

Merge request reports