fix compilation
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 26 Oct 2005 10:03:02 +0000 (10:03 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 26 Oct 2005 10:03:02 +0000 (10:03 +0000)
Original commit message from CVS:
fix compilation

ChangeLog
gst/rtp/gstrtpgsmenc.c
gst/rtp/gstrtpgsmpay.c

index d554595..9da7c90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-26  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/rtp/gstrtpgsmenc.c:
+         Fix compilation
+
 2005-10-25  Edgard Lima  <edgard.lima@indt.org.br>
 
        * gst/rtp/gstrtpg711dec.c
index 06fc951..692f388 100644 (file)
@@ -139,7 +139,7 @@ gst_rtpgsmenc_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
 
   ret =
       gst_structure_get_int (structure, "rate",
-      &(GST_BASE_RTP_PAYLOAD (rtpgsmenc)->clock_rate));
+      (gint *) & (GST_BASE_RTP_PAYLOAD (rtpgsmenc)->clock_rate));
   if (!ret)
     return FALSE;
 
index 06fc951..692f388 100644 (file)
@@ -139,7 +139,7 @@ gst_rtpgsmenc_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
 
   ret =
       gst_structure_get_int (structure, "rate",
-      &(GST_BASE_RTP_PAYLOAD (rtpgsmenc)->clock_rate));
+      (gint *) & (GST_BASE_RTP_PAYLOAD (rtpgsmenc)->clock_rate));
   if (!ret)
     return FALSE;