]> git.sesse.net Git - ffmpeg/commitdiff
Remove the unnecessary masking when counting received packet types in the H.264
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 7 Jun 2007 14:51:26 +0000 (14:51 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 7 Jun 2007 14:51:26 +0000 (14:51 +0000)
RTP parsing code.

Originally committed as revision 9241 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp_h264.c

index d8cb8830910420798a661571495b13bfaa836ef4..564424d5d36967691a273dacd0256802c1ee0eda 100644 (file)
@@ -285,7 +285,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
 
 #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....