提交 ab3e3756 编写于 作者: Z Zhang Rui

ffplay: use local variable

上级 086ef48d
......@@ -2558,7 +2558,7 @@ long ffp_get_current_position_l(FFPlayer *ffp)
int64_t start_time = is->ic->start_time;
int64_t start_diff = 0;
if (start_time > 0 && start_time != AV_NOPTS_VALUE)
start_diff = fftime_to_milliseconds(is->ic->start_time);
start_diff = fftime_to_milliseconds(start_time);
int64_t pos = 0;
double pos_clock = get_master_clock(is);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册