mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: initialize position
Summary: Fix invalid read when executing without having the actual position. Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D147
This commit is contained in:
parent
c08da0041d
commit
c2128e45af
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@ execute_next_action (GstValidateScenario * scenario)
|
|||
GstQuery *query;
|
||||
gdouble rate = 1.0;
|
||||
GstValidateAction *act = NULL;
|
||||
gint64 position, duration;
|
||||
gint64 position = GST_CLOCK_TIME_NONE, duration;
|
||||
gboolean has_pos, has_dur;
|
||||
GstValidateActionType *type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue