Changeset 674 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 14 Apr 2014, 18:56:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r673 r674 977 977 } 978 978 } 979 980 #if VPS_EXTNS 979 981 READ_FLAG( uiCode, "vps_extension_flag" ); pcVPS->setVpsExtensionFlag( uiCode ? true : false ); 980 982 983 // When MaxLayersMinus1 is greater than 0, vps_extension_flag shall be equal to 1. 984 if( pcVPS->getMaxLayers() > 1 ) 985 { 986 assert( pcVPS->getVpsExtensionFlag() == true ); 987 } 988 981 989 if( pcVPS->getVpsExtensionFlag() ) 982 990 { 983 #if VPS_EXTNS984 991 while ( m_pcBitstream->getNumBitsRead() % 8 != 0 ) 985 992 { … … 995 1002 } 996 1003 } 997 #else998 while ( xMoreRbspData() )999 {1000 READ_FLAG( uiCode, "vps_extension_data_flag");1001 }1002 #endif1003 1004 } 1004 1005 else … … 1007 1008 defaultVPSExtension(pcVPS); 1008 1009 } 1010 #else 1011 READ_FLAG( uiCode, "vps_extension_flag" ); 1012 if (uiCode) 1013 { 1014 while ( xMoreRbspData() ) 1015 { 1016 READ_FLAG( uiCode, "vps_extension_data_flag"); 1017 } 1018 } 1019 #endif 1009 1020 1010 1021 return;
Note: See TracChangeset for help on using the changeset viewer.