mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-19 08:53:51 +00:00
baseaudiosrc: fix 'uninitialized' compiler warning
This commit is contained in:
parent
a2ee06db3c
commit
0fb680f680
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ gst_base_audio_src_get_offset (GstBaseAudioSrc * src)
|
||||||
/* no previous sample, go to the current position */
|
/* no previous sample, go to the current position */
|
||||||
GST_DEBUG_OBJECT (src, "first sample, align to current %d", segdone);
|
GST_DEBUG_OBJECT (src, "first sample, align to current %d", segdone);
|
||||||
sample = ((guint64) (segdone)) * sps;
|
sample = ((guint64) (segdone)) * sps;
|
||||||
|
readseg = segdone;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (src,
|
GST_DEBUG_OBJECT (src,
|
||||||
|
|
Loading…
Reference in a new issue