[gstreamer-bugs] [Bug 332995] New: segfault in ffmpeg enc

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 1 05:57:52 PST 2006


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=332995
 GStreamer | gst-ffmpeg | Ver: HEAD CVS

           Summary: segfault in ffmpeg enc
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: josef.zlomek at itonis.tv
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


When the input buffer is (much) smaller than the frame size, gstffmpegenc
segfaults in gst_ffmpegenc_chain_audio(). The reason is that it allocates the
output buffer with the same size as the input buffer. If the input buffer is
too small, the output buffer is not large enough for the encoded data.
The size of the output buffer should be the frame size, which is the size of
subbuffer.

The attached patch fixes this.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list