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
This commit is contained in:
Vincent Penquerc'h 2014-04-09 17:10:06 +01:00
parent 54704b6f5d
commit 88879654df

View file

@ -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);