From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2006-10-23 11:42:41
|
Do not reply to this via email (we are currently unable to handle email responses and they get discarded). You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=3D364388 GStreamer | gstreamer (core) | Ver: HEAD CVS Summary: size variable is not always initialized in gst_base_src_start() Product: GStreamer Version: HEAD CVS Platform: Other OS/Version: All Status: UNCONFIRMED Severity: trivial Priority: Normal Component: gstreamer (core) AssignedTo: gst...@li... ReportedBy: ser...@gm... QAContact: gst...@li... GNOME version: Unspecified GNOME milestone: Unspecified Hi, it seems that in gstbasesrc.c in gst_base_src_start() the variable si= ze is not always initialized and used later. It happends when basesrc->segment.format !=3D GST_FORMAT_BYTES for ex GST_FORMAT_TIME in my case. later size is used here: /* run typefind if we are random_access and the typefinding is enabled. *= / if (basesrc->random_access && basesrc->data.ABI.typefind && size !=3D -1)= { may be it is better to initialize size with -1 from the start. --=20 Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail |