Opened 10 years ago Closed 10 years ago #58 closed defect (fixed)rev 1005: Void TDecTop::xDeriveSmallestLayerId(TComVPS* vps)
Description
rev 1005 - non HEVC base layer changes adds the following code
File: TDecTop.cpp, line: 2671, function: Bool TDecTop::decode() #if R0235_SMALLEST_LAYER_ID xDeriveSmallestLayerId(m_parameterSetManagerDecoder.getPrefetchedVPS(0)); #endif
This function uses Target OLS, which may not be set Void TDecTop::xDeriveSmallestLayerId(TComVPS* vps) { UInt smallestLayerId; UInt targetOlsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx();
I believe the function should be able to handle if Target OLS = -1. Currently it crashes in that scenario. Attachments (1)Change history (4)comment:1 Changed 10 years ago by DefaultCC Plugin
Changed 10 years ago by fhendrycomment:2 in reply to: ↑ description Changed 10 years ago by fhendrycomment:3 Changed 10 years ago by Vadim
Fixed as suggested in the patch with rev 1007. Please reopen the ticket if the problem still exists. 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
|
When Target OLS = -1 there is already function that derive a value to make it not -1. However, it was not called appropriately after some modification made earlier.
The attached patch provides fix for this
Replying to jaypadia: