Skip to content

Fix GDR crash: Move deletion of picHeader from destroyCoeffs() to destroy()

Jack Enhorn requested to merge jack.enhorn/VVCSoftware_VTM:gdr_fix into master

Recent commit 6a93f799 "Fix: RPR crash caused by picHeader creation/deletion" introduced crashes when GDR is enabled. The GDR code runs into null pointer exception when calling picHeader functions for reference pictures.

To keep the picHeader objects for the reference pictures the deletion can be moved from CodingStructure::destroyCoeffs() to CodingStructure::destroy()

Merge request reports