rtp: remove dead assignment
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 29 Jul 2015 16:29:28 +0000 (17:29 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Wed, 29 Jul 2015 16:33:27 +0000 (17:33 +0100)
Value set to ret will be overwritten at least once at the end of the while
loop, removing assignment.

gst/rtp/gstrtph265pay.c

index 171a242ef54e50c13666bb28e3053d700c7ce8f5..0cd8b871ba4624bcdbda1234aba75edc049b5b2a 100644 (file)
@@ -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);