summaryrefslogtreecommitdiff
path: root/libavformat/rtp_h264.c
diff options
context:
space:
mode:
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 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++;