projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8cb29
)
rtcpbuffer: fix left shift override
author
Edward Hervey
<edward@centricular.com>
Sat, 4 Nov 2017 15:56:10 +0000
(16:56 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 4 Nov 2017 15:56:10 +0000
(16:56 +0100)
Needs to be cast to the target type
gst-libs/gst/rtp/gstrtcpbuffer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtp/gstrtcpbuffer.c
b/gst-libs/gst/rtp/gstrtcpbuffer.c
index
93fb8bb
..
c09079b
100644
(file)
--- a/
gst-libs/gst/rtp/gstrtcpbuffer.c
+++ b/
gst-libs/gst/rtp/gstrtcpbuffer.c
@@
-993,7
+993,8
@@
gst_rtcp_packet_add_rb (GstRTCPPacket * packet, guint32 ssrc,
GST_WRITE_UINT32_BE (data, ssrc);
data += 4;
- GST_WRITE_UINT32_BE (data, (fractionlost << 24) | (packetslost & 0xffffff));
+ GST_WRITE_UINT32_BE (data,
+ ((guint32) fractionlost << 24) | (packetslost & 0xffffff));
data += 4;
GST_WRITE_UINT32_BE (data, exthighestseq);
data += 4;