# HG changeset patch # User takis # Date 1181227709 0 # Node ID a661d4e7cab2218c6d64c92db4290abf1c5f4580 # Parent b849507913da29cf151b4a9b02908da97c894ad0 Remove the unnecessary masking when reconstructing the NAL unit header in the H.264 RTP parsing code. diff -r b849507913da -r a661d4e7cab2 rtp_h264.c --- a/rtp_h264.c Thu Jun 07 14:47:40 2007 +0000 +++ b/rtp_h264.c Thu Jun 07 14:48:29 2007 +0000 @@ -277,7 +277,7 @@ // 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++;