Opened 10 years ago Closed 10 years ago #1364 closed defect (fixed)Wrong assert(0) in decoder
Description
Function TDecTop::decode has an assert(0) if it encounters NAL unit of reserved or unspecified types. But specification requires decoder to ignore such NAL units:
"For purposes other than determining the amount of data in the decoding units of the bitstream (as specified in Annex C), decoders shall ignore (remove from the bitstream and discard) the contents of all NAL units that use reserved values of nal_unit_type." Change History (4)comment:1 Changed 10 years ago by DefaultCC Plugin
comment:2 Changed 10 years ago by ksuehringcomment:3 Changed 10 years ago by ksuehring
comment:4 Changed 10 years ago by ksuehring
The issue has been fixed in r4265
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
|
That's basically test code which can indeed be removed. We also had this for a few NAL unit types that were not implemented before (see #1265). I guess, it would be nice to print a warning that something "unknown" was seen by the decoder.