summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-05-02 14:09:02 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-05-02 14:09:02 +0100
commit60ba2d7aee37b73a5318f20967eac601e26fe928 (patch)
tree155e7f1c7b44763cfd6c32988d01a5abf6a1c15d
parenta846e84349f60c6eb694a741b8f6da70c735be24 (diff)
downloadgstreamer-plugins-good-60ba2d7aee37b73a5318f20967eac601e26fe928.tar.gz
rtpqdmdepay: remove pointless check
Besides, the pointer was dereferenced earlier anyway. Coverity 1139853
-rw-r--r--gst/rtp/gstrtpqdmdepay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c
index f854ab14b..ba85018ea 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;
}
}