gst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 25 Apr 2007 10:07:12 +0000 (10:07 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 25 Apr 2007 10:07:12 +0000 (10:07 +0000)
Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (rtsp_connection_receive):
Read the channel byte as an unsigned byte.

ChangeLog
gst/rtsp/rtspconnection.c

index 90144ea..05d29b0 100644 (file)
--- 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):
index b3dfba6..e921a34 100644 (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);