aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c
index 150a0a58b..90ec5bd37 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -41,8 +41,7 @@ void dc_trigger_action(enum dc_action action, float seek_where)
/* DEBUG(__FILE__ ":%s %d\n", __func__,__LINE__); */
cond_enter(&dc_action_cond);
assert(dc.action == DC_ACTION_NONE);
- if (action == DC_ACTION_SEEK)
- dc.seek_where = seek_where; /* usually 0 */
+ dc.seek_where = (action == DC_ACTION_SEEK) ? seek_where : 0;
dc.action = action;
do {
/* DEBUG(__FILE__ ":%s %d\n", __func__,__LINE__); */