summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4gpay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpmp4gpay.c')
-rw-r--r--gst/rtp/gstrtpmp4gpay.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c
index 05b5b716..1ad8e1c6 100644
--- a/gst/rtp/gstrtpmp4gpay.c
+++ b/gst/rtp/gstrtpmp4gpay.c
@@ -528,9 +528,6 @@ gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * basepayload,
GstBuffer * buffer)
{
GstRtpMP4GPay *rtpmp4gpay;
- GstFlowReturn ret;
-
- ret = GST_FLOW_OK;
rtpmp4gpay = GST_RTP_MP4G_PAY (basepayload);
@@ -539,9 +536,7 @@ gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * basepayload,
/* we always encode and flush a full AU */
gst_adapter_push (rtpmp4gpay->adapter, buffer);
- ret = gst_rtp_mp4g_pay_flush (rtpmp4gpay);
-
- return ret;
+ return gst_rtp_mp4g_pay_flush (rtpmp4gpay);
}
gboolean