Commit 8efa6ab4 authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: h264: weaken avcC check because of quicktime

parent b6cce8c8
......@@ -40,7 +40,7 @@ bool h264_isavcC( const uint8_t *p_buf, size_t i_buf )
p_buf[0] == 0x01 &&
(p_buf[4] & 0xFC) == 0xFC &&
(p_buf[4] & 0x03) != 0x02 &&
(p_buf[5] & 0xE0) == 0xE0 );
(p_buf[5] & 0x1F) > 0x00 ); /* Broken quicktime streams using reserved bits */
}
static size_t get_avcC_to_AnnexB_NAL_size( const uint8_t *p_buf, size_t i_buf )
......
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