Ticket #1062: SEIread.cpp.patch

File SEIread.cpp.patch, 493 bytes (added by zhyang123, 9 years ago)

A tentative fix for this issue

  • SEIread.cpp

     
    288288
    289289    UInt dummy;
    290290    READ_CODE (1, dummy, "payload_bit_equal_to_one");
    291     READ_CODE (payloadBitsRemaining-1, dummy, "payload_bit_equal_to_zero");
     291        if(payloadBitsRemaining>1){
     292                READ_CODE (payloadBitsRemaining-1, dummy, "payload_bit_equal_to_zero");
     293        }
    292294  }
    293295
    294296  /* restore primary bitstream for sei_message */