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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 1 06:33:51 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





------- Comment #3 from Josef Zlomek  2006-03-01 14:33 UTC -------
the pipeline is quite complicated, the simplification is 
filesrc -> dvddemux -> queue -> dvdlpcmdec -> audioconvert -> ffenc_mp2 ->
fakesink.

The buffers coming out of dvdlpcmdec have variable size (from 8 bytes to 2008
bytes for my file). When ffmpeg enc is processing buffer with too small size
and the cache reached frame size, the output buffer is created with the save
size as the input buffer and the codec is called.
Because the output buffer is too small, it overflows and the memory after the
buffer is overwriten, which causes segfault later.


-- 
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