Commit 2c947192 authored by takis's avatar takis

Remove the unnecessary masking when reconstructing the NAL unit header in the

H.264 RTP parsing code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9240 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2bc1852b
......@@ -277,7 +277,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
// reconstruct this packet's true nal; only the data follows..
reconstructed_nal = fu_indicator & (0xe0); // the original nal forbidden bit and NRI are stored in this packet's nal;
reconstructed_nal |= (nal_type & 0x1f);
reconstructed_nal |= nal_type;
// skip the fu_header...
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