[Bug 653648] New: [ffmpegdec] allocates and leaks avpacket helper structs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 29 07:28:00 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=653648
  GStreamer | gst-ffmpeg | git

           Summary: [ffmpegdec] allocates and leaks avpacket helper
                    structs
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mnauw at users.sourceforge.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=190935)
 View: https://bugzilla.gnome.org/attachment.cgi?id=190935
 Review: https://bugzilla.gnome.org/review?bug=653648&attachment=190935

ffmpeg: avoid allocating and leaking local avpacket helper

Subject says all, note that one such struct is leaked for every input
frame/buffer.

Attached patch uses some _init to setup an instance on stack, rather than
allocating (and then leaking) one with some _new.  Not sure what (if any) the
particular reason was for going down the _new route to start with.

-- 
Configure bugmail: https://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