summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-07-29 17:29:28 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-02-16 00:24:40 +0000
commit7ae49b46ffc7e333993cc229ceb94c5218c0a6f0 (patch)
treef29554a27ea1bed3f3715b4c0cd9f4fe696f59de
parent693a924461ac535b0fe99b332c9d9d7786b1a975 (diff)
downloadgstreamer-plugins-good-7ae49b46ffc7e333993cc229ceb94c5218c0a6f0.tar.gz
rtp: remove dead assignment
Value set to ret will be overwritten at least once at the end of the while loop, removing assignment.
-rw-r--r--gst/rtp/gstrtph265pay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/rtp/gstrtph265pay.c b/gst/rtp/gstrtph265pay.c
index 171a242ef..0cd8b871b 100644
--- a/gst/rtp/gstrtph265pay.c
+++ b/gst/rtp/gstrtph265pay.c
@@ -1047,8 +1047,6 @@ gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload,
pos += 2;
size -= 2;
- ret = GST_FLOW_OK;
-
GST_DEBUG_OBJECT (basepayload, "Using FU fragmentation for data size=%d",
size);