diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-05-02 14:09:02 +0100 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-05-02 14:09:02 +0100 |
commit | 60ba2d7aee37b73a5318f20967eac601e26fe928 (patch) | |
tree | 155e7f1c7b44763cfd6c32988d01a5abf6a1c15d | |
parent | a846e84349f60c6eb694a741b8f6da70c735be24 (diff) | |
download | gstreamer-plugins-good-60ba2d7aee37b73a5318f20967eac601e26fe928.tar.gz |
rtpqdmdepay: remove pointless check
Besides, the pointer was dereferenced earlier anyway.
Coverity 1139853
-rw-r--r-- | gst/rtp/gstrtpqdmdepay.c | 4 |
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; } } |