summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-04-25 10:07:12 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-04-25 10:07:12 +0000
commita7531984c36cee76a008d24c77cf48b048fcd5a3 (patch)
tree646eaf1c349e91759abd514821291d3edf57ab0b
parent24c5812d65e45f630edd172ce493ab9fac6df887 (diff)
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.
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtsp/rtspconnection.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 90144eaf..05d29b06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_init),
(gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process):
diff --git a/gst/rtsp/rtspconnection.c b/gst/rtsp/rtspconnection.c
index b3dfba65..e921a346 100644
--- a/gst/rtsp/rtspconnection.c
+++ b/gst/rtsp/rtspconnection.c
@@ -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);