From 5d4ff4a31e0ed7ce365e001bec31ea01c45cc568 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 May 2015 03:59:26 +0200 Subject: [PATCH] avformat/swfenc: Remove unneeded floats Signed-off-by: Michael Niedermayer --- libavformat/swfenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 3b6f9b3f83..4580651e75 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -279,8 +279,8 @@ static int swf_write_header(AVFormatContext *s) avio_w8(pb, 0x41); /* clipped bitmap fill */ avio_wl16(pb, BITMAP_ID); /* bitmap ID */ /* position of the bitmap */ - put_swf_matrix(pb, (int)(1.0 * (1 << FRAC_BITS)), 0, - 0, (int)(1.0 * (1 << FRAC_BITS)), 0, 0); + put_swf_matrix(pb, 1 << FRAC_BITS, 0, + 0, 1 << FRAC_BITS, 0, 0); avio_w8(pb, 0); /* no line style */ /* shape drawing */