Skip to content
  • Sreerenj Balachandran's avatar
    codecparser: h265: Fix nal unit size checking · e6e07028
    Sreerenj Balachandran authored and Sebastian Dröge's avatar Sebastian Dröge committed
    The EOS and EOB nals have the size 2 which is the size of
    nal unit header itself. The gst_h265_parser_identify_nalu()
    is not required to scan start code again in this case.
    
    In other cases, for a valid nalunit the minimum required size
    is 3 bytes (2 byte header and at least 1 byte RBSP payload)
    e6e07028