提交 7856afef 编写于 作者: M Michael Niedermayer

avformat/hdsenc: Change duration from single to to double precision

This slightly improves precision
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 0dbea464
......@@ -162,7 +162,7 @@ static int write_manifest(AVFormatContext *s, int final)
AVIOContext *out;
char filename[1024], temp_filename[1024];
int ret, i;
float duration = 0;
double duration = 0;
if (c->nb_streams > 0)
duration = c->streams[0].last_ts * av_q2d(s->streams[0]->time_base);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册