changeset 2155:a661d4e7cab2 libavformat

Remove the unnecessary masking when reconstructing the NAL unit header in the H.264 RTP parsing code.
author takis
date Thu, 07 Jun 2007 14:48:29 +0000
parents b849507913da
children cfd57cd5252b
files rtp_h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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++;