Ticket #829: unknown_sei_payload_type.patch

File unknown_sei_payload_type.patch, 594 bytes (added by peisongc, 11 years ago)
  • source/Lib/TLibDecoder/SEIread.cpp

     
    144144    xParseSEIRecoveryPoint(*seis.recovery_point, payloadSize);
    145145    break;
    146146  default:
    147     assert(!"Unhandled SEI message");
     147    for (UInt i = 0; i < payloadSize; i++)
     148    {
     149      UInt val;
     150      READ_CODE (8, val, "unknown SEI payload byte");
     151    }
     152    printf ("Unknown SEI message (payloadType = %d) was found!\n", payloadType);
    148153  }
    149154}
    150155