summaryrefslogtreecommitdiff
path: root/ext/smoothstreaming/gstmssdemux.c
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 17:10:06 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 17:10:06 +0100
commit88879654dfb19e2dd59abe201cf794a49a27e91d (patch)
treea85afdf7b7442b419e157e0c454d5e80b890151d /ext/smoothstreaming/gstmssdemux.c
parent54704b6f5dda41f1c0c8f7d91fd68a9508ca87c2 (diff)
downloadgstreamer-plugins-bad-88879654dfb19e2dd59abe201cf794a49a27e91d.tar.gz
smoothstreaming: remove unnecessary check
The function is static, the only call site passes a non NULL pointer, and the pointer is dereferenced before anyway. Coverity 1139839
Diffstat (limited to 'ext/smoothstreaming/gstmssdemux.c')
-rw-r--r--ext/smoothstreaming/gstmssdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c
index 4b1e4dd9f..aa7416412 100644
--- a/ext/smoothstreaming/gstmssdemux.c
+++ b/ext/smoothstreaming/gstmssdemux.c
@@ -1060,7 +1060,7 @@ gst_mss_demux_stream_download_fragment (GstMssDemuxStream * stream,
g_object_unref (fragment);
after_download = g_get_real_time ();
- if (_buffer) {
+ {
#ifndef GST_DISABLE_GST_DEBUG
guint64 bitrate = (8 * gst_buffer_get_size (buffer) * 1000000LLU) /
(after_download - before_download);