diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-24 03:59:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-24 03:59:26 +0200 |
commit | 5d4ff4a31e0ed7ce365e001bec31ea01c45cc568 (patch) | |
tree | 3937b0eed0743c375f1a50570be394199bdbacd8 /libavformat/swfenc.c | |
parent | 17264cd281c40e67942246960ed9385288b639fc (diff) | |
download | ffmpeg-5d4ff4a31e0ed7ce365e001bec31ea01c45cc568.tar.gz |
avformat/swfenc: Remove unneeded floats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 4 |
1 files 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 */ |