Changeset 829 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 14 Jul 2014, 21:12:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r825 r829 97 97 { 98 98 #if SVC_EXTENSION 99 free(m_pBitstreamFile); 99 if( m_pBitstreamFile ) 100 { 101 free(m_pBitstreamFile); 102 m_pBitstreamFile = NULL; 103 } 100 104 #else 101 105 if ( m_aidQP ) … … 1163 1167 } 1164 1168 #if SVC_EXTENSION 1169 if( pColumnWidth ) 1170 { 1171 free( pColumnWidth ); 1172 pColumnWidth = NULL; 1173 } 1174 1175 if( pRowHeight ) 1176 { 1177 free( pRowHeight ); 1178 pRowHeight = NULL; 1179 } 1180 1165 1181 for(Int layer = 0; layer < MAX_LAYERS; layer++) 1166 1182 { … … 1305 1321 m_acLayerCfg[layer].m_samplePredRefLayerIds = NULL; 1306 1322 } 1323 1324 if( pSamplePredRefLayerIds ) 1325 { 1326 free( pSamplePredRefLayerIds ); 1327 pSamplePredRefLayerIds = NULL; 1328 } 1307 1329 } 1308 1330 for(Int layer = 0; layer < MAX_LAYERS; layer++) … … 1336 1358 m_acLayerCfg[layer].m_motionPredRefLayerIds = NULL; 1337 1359 } 1360 1361 if( pMotionPredRefLayerIds ) 1362 { 1363 free( pMotionPredRefLayerIds ); 1364 pMotionPredRefLayerIds = NULL; 1365 } 1338 1366 } 1339 1367 … … 1375 1403 m_acLayerCfg[layer].m_predLayerIds = NULL; 1376 1404 } 1405 1406 if( pPredLayerIds ) 1407 { 1408 free( pPredLayerIds ); 1409 pPredLayerIds = NULL; 1410 } 1377 1411 } 1378 1412 #endif … … 1396 1430 i++; 1397 1431 } 1432 1433 if( layerSetLayerIdListDup ) 1434 { 1435 free( layerSetLayerIdListDup ); 1436 layerSetLayerIdListDup = NULL; 1437 } 1398 1438 } 1399 1439 } … … 1415 1455 layerIdx = strtok(NULL, " ,-"); 1416 1456 i++; 1457 } 1458 1459 if( highestLayrIdxListDup ) 1460 { 1461 free( highestLayrIdxListDup ); 1462 highestLayrIdxListDup = NULL; 1417 1463 } 1418 1464 } … … 1601 1647 m_targetPivotValue = NULL; 1602 1648 } 1649 1650 if( pcStartOfCodedInterval ) 1651 { 1652 free( pcStartOfCodedInterval ); 1653 pcStartOfCodedInterval = NULL; 1654 } 1655 1656 if( pcCodedPivotValue ) 1657 { 1658 free( pcCodedPivotValue ); 1659 pcCodedPivotValue = NULL; 1660 } 1661 1662 if( pcTargetPivotValue ) 1663 { 1664 free( pcTargetPivotValue ); 1665 pcTargetPivotValue = NULL; 1666 } 1603 1667 } 1604 1668 #if P0050_KNEE_FUNCTION_SEI … … 1626 1690 i++; 1627 1691 } 1692 1693 if( pcInputKneePointValue ) 1694 { 1695 free( pcInputKneePointValue ); 1696 pcInputKneePointValue = NULL; 1697 } 1698 1699 if( pcOutputKneePointValue ) 1700 { 1701 free( pcOutputKneePointValue ); 1702 pcOutputKneePointValue = NULL; 1703 } 1628 1704 } 1629 1705 #endif … … 1671 1747 } 1672 1748 m_skippedTileSetPresentFlag = false; 1749 1750 if( pTileSets ) 1751 { 1752 free( pTileSets ); 1753 pTileSets = NULL; 1754 } 1673 1755 } 1674 1756 #endif … … 3139 3221 *arr = NULL; 3140 3222 } 3223 3224 if( tempChar ) 3225 { 3226 free( tempChar ); 3227 tempChar = NULL; 3228 } 3141 3229 } 3142 3230
Note: See TracChangeset for help on using the changeset viewer.