gst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte.

Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (rtsp_connection_receive):
Read the channel byte as an unsigned byte.
This commit is contained in:
Wim Taymans 2007-04-25 10:07:12 +00:00
parent 24c5812d65
commit a7531984c3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-04-25 Wim Taymans <wim@fluendo.com>
* gst/rtsp/rtspconnection.c: (rtsp_connection_receive):
Read the channel byte as an unsigned byte.
2007-04-25 Wim Taymans <wim@fluendo.com>
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_set_property):

View file

@ -683,7 +683,7 @@ rtsp_connection_receive (RTSPConnection * conn, RTSPMessage * msg)
res = RTSP_OK;
/* parse first line and headers */
while (res == RTSP_OK) {
gchar c;
guint8 c;
/* read first character, this identifies data messages */
RTSP_CHECK (rtsp_connection_read (conn, &c, 1), read_error);