Commit b9e39c93 authored by Semih Esenlik's avatar Semih Esenlik
Browse files

Braces added before and after UVLC

parent c804a833
......@@ -1981,9 +1981,13 @@ void HLSWriter::codeSliceHeader ( Slice* pcSlice )
int bitsSliceAddress = ceilLog2(pcSlice->getPPS()->getNumTiles());
WRITE_CODE( pcSlice->getSliceID(), bitsSliceAddress, "slice_address");
#if JVET_R0210_NUMTILESINSLICE_SIGNALLING
if (pcSlice->getPPS()->getNumTiles() - pcSlice->getSliceID() > 1)
if (pcSlice->getPPS()->getNumTiles() - pcSlice->getSliceID() > 1)
{
#endif
WRITE_UVLC(pcSlice->getNumTilesInSlice() - 1, "num_tiles_in_slice_minus1");
#if JVET_R0210_NUMTILESINSLICE_SIGNALLING
}
#endif
WRITE_UVLC( pcSlice->getNumTilesInSlice() - 1, "num_tiles_in_slice_minus1");
}
}
// rectangular slices
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment