Ticket #547: 547_rickard.patch
File 547_rickard.patch, 731 bytes (added by rickard, 11 years ago) |
---|
-
source/Lib/TLibEncoder/TEncTop.cpp
860 860 861 861 for(Int extraNum=m_iGOPSize; extraNum<m_extraRPSs+m_iGOPSize; extraNum++) 862 862 { 863 if(m_uiIntraPeriod > 0 )863 if(m_uiIntraPeriod > 0 && getDecodingRefreshType() > 0) 864 864 { 865 if(POCCurr%m_uiIntraPeriod==m_GOPList[extraNum].m_POC) 865 Int POCIndex = POCCurr%m_uiIntraPeriod; 866 if(POCIndex == 0) 866 867 { 868 POCIndex = m_uiIntraPeriod; 869 } 870 if(POCIndex == m_GOPList[extraNum].m_POC) 871 { 867 872 slice->setRPSidx(extraNum); 868 873 } 869 874 }