summaryrefslogtreecommitdiff
path: root/libavformat/rtp_h264.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-06-07 14:51:26 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-06-07 14:51:26 +0000
commit716f6b47f207075f609aa4a18542b71116dfe975 (patch)
tree7f229cd909eb85fccb2bfc80a6a1445d8894b274 /libavformat/rtp_h264.c
parent7699645e7d5e8ffc8d668c0319ffcd680c3424da (diff)
Remove the unnecessary masking when counting received packet types in the H.264
RTP parsing code. Originally committed as revision 9241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_h264.c')
-rw-r--r--libavformat/rtp_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index d8cb883091..564424d5d3 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -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....