[FFmpeg-cvslog] avformat/swfenc: Remove unneeded floats
Michael Niedermayer
git at videolan.org
Sun May 24 04:20:46 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 24 03:59:26 2015 +0200| [5d4ff4a31e0ed7ce365e001bec31ea01c45cc568] | committer: Michael Niedermayer
avformat/swfenc: Remove unneeded floats
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d4ff4a31e0ed7ce365e001bec31ea01c45cc568
---
libavformat/swfenc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c
index 3b6f9b3..4580651 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 */
More information about the ffmpeg-cvslog
mailing list