# HG changeset patch # User takis # Date 1181227660 0 # Node ID b849507913da29cf151b4a9b02908da97c894ad0 # Parent 6d873194ff86494570adf7f46263477b27a763d8 Remove the unnecessary masking when extracting the start bit in the H.264 RTP parsing code. diff -r 6d873194ff86 -r b849507913da rtp_h264.c --- a/rtp_h264.c Thu Jun 07 14:13:59 2007 +0000 +++ b/rtp_h264.c Thu Jun 07 14:47:40 2007 +0000 @@ -270,7 +270,7 @@ // these are the same as above, we just redo them here for clarity... uint8_t fu_indicator = nal; uint8_t fu_header = *buf; // read the fu_header. - uint8_t start_bit = (fu_header & 0x80) >> 7; + uint8_t start_bit = fu_header >> 7; // uint8_t end_bit = (fu_header & 0x40) >> 6; uint8_t nal_type = (fu_header & 0x1f); uint8_t reconstructed_nal;