Changeset 1025 in SHVCSoftware
- Timestamp:
- 7 Feb 2015, 08:33:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1013 r1025 342 342 #else 343 343 READ_FLAG( uiCode, "pps_extension_present_flag"); 344 UInt ppsExtension6bits = 0; 344 345 #endif 345 346 … … 467 468 READ_FLAG( uiCode, "pps_multilayer_extension_flag" ); 468 469 assert(uiCode == 1); 470 #if SVC_EXTENSION 471 READ_CODE(6, ppsExtension6bits, "pps_extension_6bits"); 472 #else 469 473 READ_CODE(6, uiCode, "pps_extension_6bits"); 470 474 assert(uiCode == 0); 475 #endif 471 476 472 477 READ_FLAG( uiCode, "poc_reset_info_present_flag" ); … … 558 563 #endif 559 564 } 565 566 #if SVC_EXTENSION 567 if( ppsExtension6bits ) 568 { 569 while( xMoreRbspData() ) 570 { 571 READ_FLAG( uiCode, "pps_extension_data_flag" ); 572 } 573 } 574 #endif 560 575 #endif 561 576 … … 1114 1129 #if SVC_EXTENSION 1115 1130 pcSPS->setExtensionFlag( uiCode ? true : false ); 1131 UInt spsExtension6bits = 0; 1116 1132 1117 1133 if( pcSPS->getExtensionFlag() ) … … 1147 1163 READ_FLAG( uiCode, "sps_multilayer_extension_flag" ); 1148 1164 assert(uiCode == 1); 1149 READ_CODE(6, uiCode, "sps_extension_6bits"); 1150 assert(uiCode == 0); 1165 READ_CODE(6, spsExtension6bits, "sps_extension_6bits"); 1151 1166 parseSPSExtension( pcSPS ); 1152 1167 } 1153 1168 #endif 1169 if( spsExtension6bits ) 1170 { 1171 while( xMoreRbspData() ) 1172 { 1173 READ_FLAG( uiCode, "sps_extension_data_flag" ); 1174 } 1175 } 1154 1176 #else 1155 1177 if (uiCode)
Note: See TracChangeset for help on using the changeset viewer.