mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +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);
|
g_object_unref (fragment);
|
||||||
|
|
||||||
after_download = g_get_real_time ();
|
after_download = g_get_real_time ();
|
||||||
if (_buffer) {
|
{
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
guint64 bitrate = (8 * gst_buffer_get_size (buffer) * 1000000LLU) /
|
guint64 bitrate = (8 * gst_buffer_get_size (buffer) * 1000000LLU) /
|
||||||
(after_download - before_download);
|
(after_download - before_download);
|
||||||
|
|
Loading…
Reference in a new issue