mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
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:
parent
54704b6f5d
commit
88879654df
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue