mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 14:00:43 +00:00
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
This commit is contained in:
parent
6ab6525e11
commit
7699645e7d
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user