diff options
-rw-r--r-- | gst/asfdemux/gstrtpasfdepay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/asfdemux/gstrtpasfdepay.c b/gst/asfdemux/gstrtpasfdepay.c index 2be7a01f..d5179a8f 100644 --- a/gst/asfdemux/gstrtpasfdepay.c +++ b/gst/asfdemux/gstrtpasfdepay.c @@ -177,7 +177,8 @@ gst_rtp_asf_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps) buf = gst_buffer_new (); gst_buffer_take_memory (buf, -1, - gst_memory_new_wrapped (0, headers, g_free, headers_len, 0, headers_len)); + gst_memory_new_wrapped (0, headers, headers_len, 0, headers_len, headers, + g_free)); gst_rtp_base_depayload_push (depayload, buf); |