mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst-libs/gst/rtsp/gstrtspmessage.c: Fix the g_return_val_if_fail() statements.
Original commit message from CVS: * gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_parse_request), (gst_rtsp_message_parse_response): Fix the g_return_val_if_fail() statements.
This commit is contained in:
parent
46ce5c3737
commit
c9566ebd68
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-09-23 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst-libs/gst/rtsp/gstrtspmessage.c:
|
||||||
|
(gst_rtsp_message_parse_request),
|
||||||
|
(gst_rtsp_message_parse_response):
|
||||||
|
Fix the g_return_val_if_fail() statements.
|
||||||
|
|
||||||
2008-09-22 Michael Smith <msmith@songbirdnest.com>
|
2008-09-22 Michael Smith <msmith@songbirdnest.com>
|
||||||
|
|
||||||
* gst-libs/gst/tag/gsttagdemux.c:
|
* gst-libs/gst/tag/gsttagdemux.c:
|
||||||
|
|
|
@ -213,7 +213,7 @@ gst_rtsp_message_parse_request (GstRTSPMessage * msg,
|
||||||
GstRTSPMethod * method, const gchar ** uri, GstRTSPVersion * version)
|
GstRTSPMethod * method, const gchar ** uri, GstRTSPVersion * version)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (msg != NULL, GST_RTSP_EINVAL);
|
g_return_val_if_fail (msg != NULL, GST_RTSP_EINVAL);
|
||||||
g_return_val_if_fail (msg->type != GST_RTSP_MESSAGE_REQUEST, GST_RTSP_EINVAL);
|
g_return_val_if_fail (msg->type == GST_RTSP_MESSAGE_REQUEST, GST_RTSP_EINVAL);
|
||||||
|
|
||||||
if (method)
|
if (method)
|
||||||
*method = msg->type_data.request.method;
|
*method = msg->type_data.request.method;
|
||||||
|
@ -340,7 +340,7 @@ gst_rtsp_message_parse_response (GstRTSPMessage * msg,
|
||||||
GstRTSPStatusCode * code, const gchar ** reason, GstRTSPVersion * version)
|
GstRTSPStatusCode * code, const gchar ** reason, GstRTSPVersion * version)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (msg != NULL, GST_RTSP_EINVAL);
|
g_return_val_if_fail (msg != NULL, GST_RTSP_EINVAL);
|
||||||
g_return_val_if_fail (msg->type != GST_RTSP_MESSAGE_RESPONSE,
|
g_return_val_if_fail (msg->type == GST_RTSP_MESSAGE_RESPONSE,
|
||||||
GST_RTSP_EINVAL);
|
GST_RTSP_EINVAL);
|
||||||
|
|
||||||
if (code)
|
if (code)
|
||||||
|
|
Loading…
Reference in a new issue