gst/rtp/gstrtpgsmparse.c: Add missing NULL terminator (#157543).

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/rtp/gstrtpgsmparse.c: (gst_rtpgsm_caps_nego):
Add missing NULL terminator (#157543).
This commit is contained in:
Ronald S. Bultje 2004-11-06 22:00:41 +00:00
parent 5cbc931fca
commit 39940da795
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2004-11-06 Tim-Philipp Müller <t.i.m@zen.co.uk>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/rtp/gstrtpgsmparse.c: (gst_rtpgsm_caps_nego):
Add missing NULL terminator (#157543).
2004-11-05 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/tcp/gsttcp.h:

View file

@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse)
GstCaps *caps;
caps = gst_caps_new_simple ("audio/x-gsm",
"rate", G_TYPE_INT, rtpgsmparse->frequency);
"rate", G_TYPE_INT, rtpgsmparse->frequency, NULL);
gst_pad_try_set_caps (rtpgsmparse->srcpad, caps);
}

View file

@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse)
GstCaps *caps;
caps = gst_caps_new_simple ("audio/x-gsm",
"rate", G_TYPE_INT, rtpgsmparse->frequency);
"rate", G_TYPE_INT, rtpgsmparse->frequency, NULL);
gst_pad_try_set_caps (rtpgsmparse->srcpad, caps);
}