avformat/hdsenc: Change duration from single to to double precision
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Jun 2015 22:22:06 +0000 (00:22 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Jun 2015 22:35:43 +0000 (00:35 +0200)
This slightly improves precision

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/hdsenc.c

index 48810a9..575cc20 100644 (file)
@@ -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);