From f906690fcfe074309608612e88ce4f07a90569b2 Mon Sep 17 00:00:00 2001 From: Hendry <hendry197@gmail.com> Date: Thu, 14 May 2020 12:16:48 -0700 Subject: [PATCH] editorial change for putting opening brace to new line --- source/Lib/EncoderLib/EncLib.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/Lib/EncoderLib/EncLib.cpp b/source/Lib/EncoderLib/EncLib.cpp index af5fa5153..6f8c06a57 100644 --- a/source/Lib/EncoderLib/EncLib.cpp +++ b/source/Lib/EncoderLib/EncLib.cpp @@ -1003,7 +1003,8 @@ void EncLib::xInitVPS( const SPS& sps ) for( int olsIdx = 0, dpbIdx = 0; olsIdx < m_vps->m_numOutputLayersInOls.size(); olsIdx++ ) { - if ( m_vps->getNumLayersInOls(olsIdx) > 1 ) { + if ( m_vps->getNumLayersInOls(olsIdx) > 1 ) + { if( std::find( m_vps->m_layerIdInOls[olsIdx].begin(), m_vps->m_layerIdInOls[olsIdx].end(), m_layerId ) != m_vps->m_layerIdInOls[olsIdx].end() ) { m_vps->setOlsDpbPicWidth( olsIdx, std::max<int>( sps.getMaxPicWidthInLumaSamples(), m_vps->getOlsDpbPicSize( olsIdx ).width ) ); @@ -1018,7 +1019,8 @@ void EncLib::xInitVPS( const SPS& sps ) //for( int i = 0; i < m_vps->m_numDpbParams; i++ ) for( int i = 0; i < m_vps->m_numOutputLayersInOls.size(); i++ ) { - if ( m_vps->getNumLayersInOls(i) > 1 ) { + if ( m_vps->getNumLayersInOls(i) > 1 ) + { int dpbIdx = m_vps->getOlsDpbParamsIdx( i ); if( m_vps->getMaxSubLayers() == 1 ) -- GitLab