gst/rtsp/rtspconnection.c: Don't set a data pointer to NULL and a size > 0 when we...
authorWim Taymans <wim.taymans@gmail.com>
Wed, 15 Nov 2006 17:44:01 +0000 (17:44 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 15 Nov 2006 17:44:01 +0000 (17:44 +0000)
commit0cbacacba35ac4aeaad8fb5b0a5d67577c94edc6
treec984bc0dc7eb7ab452c1f199a868ee0e4e9f547b
parente8c55964bb31d47bc0459e119fed04f41d0cf8c9
gst/rtsp/rtspconnection.c: Don't set a data pointer to NULL and a size > 0 when we deal with empty packets.

Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (read_body):
Don't set a data pointer to NULL and a size > 0 when we deal
with empty packets.
* gst/rtsp/rtspmessage.c: (rtsp_message_new_response),
(rtsp_message_init_response), (rtsp_message_init_data),
(rtsp_message_unset), (rtsp_message_free),
(rtsp_message_take_body):
Check that we can't create invalid empty packets.
ChangeLog
gst/rtsp/rtspconnection.c
gst/rtsp/rtspmessage.c