Skip to content
  • Tim-Philipp Müller's avatar
    Use g_memdup2() where available and add fallback for older GLib versions · bf56fd97
    Tim-Philipp Müller authored
    - png: alloc size variable is a png type that's always 32-bit
    - vpx: alloc size based on existing allocation
    - wavpack: alloc size based on existing allocation
    - icles: gdkpixbufoverlay: trusted and hard-coded input data
    - rtp tests: rtp-payloading, vp8, vp9, h264, h265: trusted and/or static input data
    
    g_memdup() is deprecated since GLib 2.68 and we want to avoid
    deprecation warnings with recent versions of GLib.
    
    Also use gst_buffer_new_memdup() instead of _wrapped(g_memdup(),..)
    
    Part-of: <gstreamer/gst-plugins-good!993>
    bf56fd97