Changeset 831 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
- Timestamp:
- 15 Jul 2014, 02:16:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r820 r831 1224 1224 for(Int i = 0; i < MAX_LAYERS; i++) 1225 1225 { 1226 m _acTDecTop[i].getListPic()->clear();1226 markAllPicturesAsErased(i); 1227 1227 } 1228 1228 } … … 1230 1230 Void TAppDecTop::markAllPicturesAsErased(Int layerIdx) 1231 1231 { 1232 TComList<TComPic*>::iterator iterPic = m_acTDecTop[layerIdx].getListPic()->begin(); 1233 Int iSize = Int( m_acTDecTop[layerIdx].getListPic()->size() ); 1234 1235 for (Int i = 0; i < iSize; i++ ) 1236 { 1237 TComPic* pcPic = *(iterPic++); 1238 1239 if( pcPic ) 1240 { 1241 pcPic->destroy(); 1242 1243 delete pcPic; 1244 pcPic = NULL; 1245 } 1246 } 1247 1232 1248 m_acTDecTop[layerIdx].getListPic()->clear(); 1233 1249 }
Note: See TracChangeset for help on using the changeset viewer.