Skip to content

Commit

Permalink
packetizer: h264: weaken avcC check because of quicktime
Browse files Browse the repository at this point in the history
  • Loading branch information
fcartegnie committed May 26, 2016
1 parent b6cce8c commit 8efa6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/packetizer/h264_nal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 8efa6ab

Please sign in to comment.