[SCM] libav/experimental: Remove the unnecessary masking when counting received packet types in the H.264 RTP parsing code.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:01:12 UTC 2013
The following commit has been merged in the experimental branch:
commit 716f6b47f207075f609aa4a18542b71116dfe975
Author: Panagiotis Issaris <takis.issaris at uhasselt.be>
Date: Thu Jun 7 14:51:26 2007 +0000
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
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index d8cb883..564424d 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....
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list