projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7395057
)
rtmp2: Use correct size of write macro for param2.
author
Doug Nazar
<nazard@nazar.ca>
Wed, 7 Apr 2021 11:48:57 +0000
(07:48 -0400)
committer
Doug Nazar
<nazard@nazar.ca>
Wed, 7 Apr 2021 11:48:57 +0000
(07:48 -0400)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2146>
gst/rtmp2/rtmp/rtmpmessage.c
patch
|
blob
|
history
diff --git
a/gst/rtmp2/rtmp/rtmpmessage.c
b/gst/rtmp2/rtmp/rtmpmessage.c
index 95225e68f7c6a74dab892ee91622f3d9fe9258fe..f59c09a7da0f45588d708599272a1f6444bb83da 100644
(file)
--- a/
gst/rtmp2/rtmp/rtmpmessage.c
+++ b/
gst/rtmp2/rtmp/rtmpmessage.c
@@
-413,7
+413,7
@@
gst_rtmp_message_new_protocol_control (GstRtmpProtocolControl * pc)
data = g_malloc (size);
GST_WRITE_UINT32_BE (data, pc->param);
if (pc_has_param2 (pc->type)) {
- GST_WRITE_UINT
32_BE
(data + 4, pc->param2);
+ GST_WRITE_UINT
8
(data + 4, pc->param2);
}
return gst_rtmp_message_new_wrapped (pc->type,