Opened 12 years ago

Closed 12 years ago

#1062 closed defect (fixed)

HM decoder crashes when there is no payload_bit_equal_to_zero at the end of a SEI message

Reported by: zhyang123 Owned by:
Priority: minor Milestone: HM-10.1
Component: HM Version: HM-10.0
Keywords: payload_bit_equal_to_zero Cc: fbossen, ksuehring, davidf, jct-vc@…

Description

HM decoder crashes when there is no payload_bit_equal_to_zero at the end of a SEI message. Specifically, the following code

READ_CODE (payloadBitsRemaining-1, dummy, "payload_bit_equal_to_zero");

will trigger an assert failure when payloadBitsRemaining is equal to 1

assert ( uiLength > 0 );

A patch is attached to fix this issue.

Best regards,
Michael

Attachments (1)

SEIread.cpp.patch (493 bytes) - added by zhyang123 12 years ago.
A tentative fix for this issue

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

Changed 12 years ago by zhyang123

A tentative fix for this issue

comment:2 Changed 12 years ago by ksuehring

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r3399

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

  • David Flynn(Subscriber)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Participant, Always)
  • Zhijie Yang(Reporter)