Commit de415833 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

packetizer: hevc: really fix DCR test

As hevc DCR can have Profile set to None 0x0
parent 58423306
......@@ -121,8 +121,7 @@ enum hevc_slice_type_e
static inline bool hevc_ishvcC( const uint8_t *p_buf, size_t i_buf )
{
return ( i_buf >= HEVC_MIN_HVCC_SIZE &&
p_buf[0] != 0x00 &&
p_buf[1] != 0x00
p_buf[0] != 0x00
/* /!\Broken quicktime streams does not respect reserved bits
(p_buf[13] & 0xF0) == 0xF0 && // Match all reserved bits
(p_buf[15] & 0xFC) == 0xFC &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment