Ticket #1040: IDR.patch
File IDR.patch, 933 bytes (added by ksuehring, 11 years ago) |
---|
-
source/Lib/TLibDecoder/TDecTop.cpp
334 334 } 335 335 } 336 336 337 //we should only get a different poc for a new picture (with CTU address==0) 338 if (m_apcSlicePilot->isNextSlice() && m_apcSlicePilot->getPOC()!=m_prevPOC && !m_bFirstSliceInSequence && (!m_apcSlicePilot->getSliceCurStartCUAddr()==0)) 339 { 340 printf ("Warning, the first slice of a picture might have been lost!\n"); 341 } 337 342 // exit when a new picture is found 338 if (m_apcSlicePilot->isNextSlice() && m_apcSlicePilot->getPOC()!=m_prevPOC && !m_bFirstSliceInSequence)343 if (m_apcSlicePilot->isNextSlice() && (m_apcSlicePilot->getSliceCurStartCUAddr() == 0 && !m_bFirstSliceInPicture) && !m_bFirstSliceInSequence ) 339 344 { 340 345 if (m_prevPOC >= m_pocRandomAccess) 341 346 {