Commit 2bc1852b authored by takis's avatar takis

Remove the unnecessary masking when extracting the start bit in the H.264 RTP

parsing code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 51c9a65d
......@@ -270,7 +270,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
// 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;
......
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