Skip to content
Snippets Groups Projects
Commit fc30da8f authored by Moonmo Koo's avatar Moonmo Koo
Browse files

Removed the THROW statement and replaced it with CHECK()

parent 8f2b7a64
No related branches found
No related tags found
No related merge requests found
...@@ -561,10 +561,7 @@ void EncLib::xInitScalingLists(SPS &sps, PPS &pps) ...@@ -561,10 +561,7 @@ void EncLib::xInitScalingLists(SPS &sps, PPS &pps)
{ {
#if JVET_O0299_APS_SCALINGLIST #if JVET_O0299_APS_SCALINGLIST
aps.getScalingList().setDefaultScalingList(); aps.getScalingList().setDefaultScalingList();
if( aps.getScalingList().xParseScalingList( getScalingListFileName() ) ) CHECK( aps.getScalingList().xParseScalingList( getScalingListFileName() ), "Error Parsing Scaling List Input File" );
{
THROW( "parse scaling list" );
}
aps.getScalingList().checkDcOfMatrix(); aps.getScalingList().checkDcOfMatrix();
if( aps.getScalingList().checkDefaultScalingList() == false ) if( aps.getScalingList().checkDefaultScalingList() == false )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment