#791 closed defect (fixed)Encoded bit stream cause segmentation fault in decoder when using IDR in DecodingRefreshType
Description
When encoding using encoder_randomaccess_main.cfg. Only change in cfg is to use IDR for DecodingRefreshType. It seems to be related to POC calculation. Attachments (1)Change History (8)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by ksuehringcomment:3 Changed 12 years ago by bheng
The negative POC pictures following the second IDR are never decoded because of the following if statement: if (m_prevPOC >= m_pocRandomAccess) { m_prevPOC = m_apcSlicePilot->getPOC(); return true; }
m_pocRandomAccess is set to zero, so anything with negative POC will fail this condition. You could see if the attached patch is enough to solve the problem. Changed 12 years ago by bhengcomment:4 Changed 12 years ago by fbossen
Patch applied in r3096 comment:5 Changed 12 years ago by fbossen
comment:6 Changed 12 years ago by ksuehring
Ticket #578 has been marked as a duplicate of this ticket. comment:7 Changed 12 years ago by ksuehring
Ticket #628 has been marked as a duplicate of this ticket. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
I have updated a number of POC references to signed int, but there still seems to be an issue with a wrong reference picture.