diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-06-07 14:48:29 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-06-07 14:48:29 +0000 |
commit | 7699645e7d5e8ffc8d668c0319ffcd680c3424da (patch) | |
tree | e1803600f4b0561d59da20f86c8bdc9477010869 /libavformat | |
parent | 6ab6525e116c3f11969c90ce6ed480ab1cbd273e (diff) | |
download | ffmpeg-7699645e7d5e8ffc8d668c0319ffcd680c3424da.tar.gz |
Remove the unnecessary masking when reconstructing the NAL unit header in the
H.264 RTP parsing code.
Originally committed as revision 9240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtp_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c index 69f4608366..d8cb883091 100644 --- a/libavformat/rtp_h264.c +++ b/libavformat/rtp_h264.c @@ -277,7 +277,7 @@ static int h264_handle_packet(RTPDemuxContext * s, // reconstruct this packet's true nal; only the data follows.. reconstructed_nal = fu_indicator & (0xe0); // the original nal forbidden bit and NRI are stored in this packet's nal; - reconstructed_nal |= (nal_type & 0x1f); + reconstructed_nal |= nal_type; // skip the fu_header... buf++; |