From 60ba2d7aee37b73a5318f20967eac601e26fe928 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 2 May 2014 14:09:02 +0100 Subject: [PATCH] rtpqdmdepay: remove pointless check Besides, the pointer was dereferenced earlier anyway. Coverity 1139853 --- gst/rtp/gstrtpqdmdepay.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c index f854ab14b2..ba85018ead 100644 --- a/gst/rtp/gstrtpqdmdepay.c +++ b/gst/rtp/gstrtpqdmdepay.c @@ -185,9 +185,7 @@ flush_data (GstRtpQDM2Depay * depay) gst_adapter_push (depay->adapter, buf); - if (pack->data) { - pack->data = NULL; - } + pack->data = NULL; } }