[FFmpeg-cvslog] r9240 - trunk/libavformat/rtp_h264.c

takis subversion
Thu Jun 7 16:48:29 CEST 2007


Author: takis
Date: Thu Jun  7 16:48:29 2007
New Revision: 9240

Log:
Remove the unnecessary masking when reconstructing the NAL unit header in the
H.264 RTP parsing code.


Modified:
   trunk/libavformat/rtp_h264.c

Modified: trunk/libavformat/rtp_h264.c
==============================================================================
--- trunk/libavformat/rtp_h264.c	(original)
+++ trunk/libavformat/rtp_h264.c	Thu Jun  7 16:48:29 2007
@@ -277,7 +277,7 @@ static int h264_handle_packet(RTPDemuxCo
 
             // 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++;




More information about the ffmpeg-cvslog mailing list