- Remove an unneeded initialization to zero from AmfParser
- Add missing initialization to gst_amf_serialize_command_valist
- Add a g_return_if_fail to gst_rtmp_connection_request_window_size
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/878
AmfParser parser = {
.data = data,
.size = size,
- .recursion_depth = 0,
};
GstAmfNode *node1 = NULL, *node2 = NULL;
GPtrArray *args = NULL;
g_return_val_if_fail (command_name, NULL);
g_return_val_if_fail (argument, NULL);
+ init_static ();
+
GST_LOG ("Serializing command '%s', transid %.0f", command_name,
transaction_id);
.param = window_ack_size,
};
+ g_return_if_fail (GST_IS_RTMP_CONNECTION (connection));
+
if (connection->out_window_ack_size == window_ack_size)
return;