From 768cdbd9f2119c6ad5e4ffc0d3538eaba053ca96 Mon Sep 17 00:00:00 2001 From: Xiang Li <xlxiangli@tencent.com> Date: Mon, 4 Feb 2019 11:46:40 -0800 Subject: [PATCH] Minor code improvement on JVET_M0055_DEBUG_CTU --- source/Lib/DecoderLib/DecLib.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp index fa33c9e2a..36d835319 100644 --- a/source/Lib/DecoderLib/DecLib.cpp +++ b/source/Lib/DecoderLib/DecLib.cpp @@ -166,6 +166,7 @@ bool tryDecodePicture( Picture* pcEncPic, const int expectedPoc, const std::stri #if JVET_M0055_DEBUG_CTU if( debugCTU < 0 || poc != debugPOC ) + { #endif for( int i = 0; i < pic->slices.size(); i++ ) { @@ -176,6 +177,9 @@ bool tryDecodePicture( Picture* pcEncPic, const int expectedPoc, const std::stri } pcEncPic->slices[i]->copySliceInfo( pic->slices[i], false ); } +#if JVET_M0055_DEBUG_CTU + } +#endif pcEncPic->cs->slice = pcEncPic->slices.back(); -- GitLab