[gstreamer-bugs] [Bug 519088] New: gst_mulawdec_chain() may call gst_util_uint64_scale_int() with denom=0

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Feb 27 08:36:04 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=519088

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: gst_mulawdec_chain() may call
                    gst_util_uint64_scale_int() with denom=0
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pkj at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
The change in gst-plugins-good/gst/law/mulaw-decode.c:gst_mulawdec_chain() to
calculate the duration from the rate and channels causes an assertion in
gst_util_uint64_scale_int() if there is no caps with these values set (it will
get a denom of 0). I know too little about the linking of a pipeline to tell
whether this should have been prevented already at the time the pipeline was
linked, or if it is allowed to reach gst_mulawdec_chain() without a caps which
does not contains rate or channels.

Steps to reproduce:
gst-launch fakesrc ! mulawdec ! fakesink

Actual results:


Expected results:


Does this happen every time?


Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=519088.




More information about the Gstreamer-bugs mailing list