mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
5cbc931fca
commit
39940da795
3 changed files with 9 additions and 2 deletions
|
@ -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>
|
2004-11-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/tcp/gsttcp.h:
|
* gst/tcp/gsttcp.h:
|
||||||
|
|
|
@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse)
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
caps = gst_caps_new_simple ("audio/x-gsm",
|
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);
|
gst_pad_try_set_caps (rtpgsmparse->srcpad, caps);
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ gst_rtpgsm_caps_nego (GstRtpGSMParse * rtpgsmparse)
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
caps = gst_caps_new_simple ("audio/x-gsm",
|
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);
|
gst_pad_try_set_caps (rtpgsmparse->srcpad, caps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue