Ticket #791: negative_poc_w_idr.patch
File negative_poc_w_idr.patch, 641 bytes (added by bheng, 10 years ago) |
---|
-
source/Lib/TLibDecoder/TDecTop.cpp
751 751 } 752 752 else if ( m_apcSlicePilot->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || m_apcSlicePilot->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP ) 753 753 { 754 m_pocRandomAccess = 0; // no need to skip the reordered pictures in IDR, they are decodable.754 m_pocRandomAccess = -MAX_INT-1; // no need to skip the reordered pictures in IDR, they are decodable. 755 755 } 756 756 else 757 757 {