[gstreamer-bugs] [Bug 157543] New: [rtpgsmparse] missing NULL terminator to gst_caps_new_simple()

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Nov 6 12:44:12 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=157543
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: [rtpgsmparse] missing NULL terminator to
                    gst_caps_new_simple()
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net


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

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list