changeset 2156:cfd57cd5252b libavformat

Remove the unnecessary masking when counting received packet types in the H.264 RTP parsing code.
author takis
date Thu, 07 Jun 2007 14:51:26 +0000
parents a661d4e7cab2
children 0103a8479df5
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:48:29 2007 +0000
+++ b/rtp_h264.c	Thu Jun 07 14:51:26 2007 +0000
@@ -285,7 +285,7 @@
 
 #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....