rtpgstpay: Use the return value of gst_buffer_append()
authorSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jul 2015 17:29:07 +0000 (19:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jul 2015 19:39:25 +0000 (21:39 +0200)
gst/rtp/gstrtpgstpay.c

index 82669c8..be20529 100644 (file)
@@ -336,7 +336,7 @@ gst_rtp_gst_pay_create_from_adapter (GstRtpGSTPay * rtpgstpay,
     paybuf = gst_adapter_take_buffer_fast (rtpgstpay->adapter, payload_len);
 
     /* create a new group to hold the rtp header and the payload */
-    gst_buffer_append (outbuf, paybuf);
+    outbuf = gst_buffer_append (outbuf, paybuf);
 
     GST_BUFFER_PTS (outbuf) = timestamp;