(HEVC/Research) Fix xdfdiag