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

takis subversion
Thu Jun 7 16:51:26 CEST 2007


Author: takis
Date: Thu Jun  7 16:51:26 2007
New Revision: 9241

Log:
Remove the unnecessary masking when counting received packet types 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:51:26 2007
@@ -285,7 +285,7 @@ static int h264_handle_packet(RTPDemuxCo
 
 #ifdef DEBUG
             if (start_bit)
-                data->packet_types_received[nal_type & 0x1f]++;
+                data->packet_types_received[nal_type]++;
 #endif
             if(start_bit) {
                 // copy in the start sequence, and the reconstructed nal....




More information about the ffmpeg-cvslog mailing list