From 0f03cc378e6ce48f17a20e409f93bfc11345a6ed Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 16 May 2017 20:14:22 +0200 Subject: Fix errors and warnings and make the code cleaner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-dissolve.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/blind-dissolve.c') diff --git a/src/blind-dissolve.c b/src/blind-dissolve.c index 8416279..a73ae21 100644 --- a/src/blind-dissolve.c +++ b/src/blind-dissolve.c @@ -1,8 +1,5 @@ /* See LICENSE file for copyright and license details. */ -#include "stream.h" -#include "util.h" - -#include +#include "common.h" USAGE("[-r]") @@ -55,7 +52,7 @@ main(int argc, char *argv[]) fprint_stream_head(stdout, &stream); efflush(stdout, ""); - fm_double = fm = stream.frames - 1; + fm_double = (double)(fm = stream.frames - 1); fm_float = (float)fm_double; process_each_frame_segmented(&stream, STDOUT_FILENO, "", process); return 0; -- cgit v1.2.3-70-g09d2