After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157543 - [rtpgsmparse] missing NULL terminator to gst_caps_new_simple()
[rtpgsmparse] missing NULL terminator to gst_caps_new_simple()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-06 20:44 UTC by Tim-Philipp Müller
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (598 bytes, patch)
2004-11-06 20:45 UTC, Tim-Philipp Müller
none Details | Review

Description Tim-Philipp Müller 2004-11-06 20:44:12 UTC
There's a NULL terminator missing: 
 
--- gst/rtp/gstrtpgsmparse.c    15 Mar 2004 19:32:11 -0000      1.11 
+++ gst/rtp/gstrtpgsmparse.c    6 Nov 2004 20:38:19 -0000 
@@ -165,7 +165,8 @@ 
   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); 
 } 
 
Cheers 
 -Tim
Comment 1 Tim-Philipp Müller 2004-11-06 20:45:48 UTC
Created attachment 33502 [details] [review]
patch

Attached obvious fix.
Comment 2 Ronald Bultje 2004-11-06 22:00:41 UTC
Applied, thanks.