aboutsummaryrefslogtreecommitdiff
path: root/libavformat/swfenc.c
diff options
context:
space:
mode:
authorDiego Biurrun2013-07-23 23:48:45 +0200
committerDiego Biurrun2013-07-25 11:33:23 +0200
commit4a2ef39442bf7f0150db07a1fbfcf8286e4d44a3 (patch)
tree9dd31751557b65c912d2501a764fab5a9f663957 /libavformat/swfenc.c
parent6c145ecf785dc3d26ba3fed3ea9892cc80244625 (diff)
cosmetics: Add '0' to float constants ending in '.'.
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r--libavformat/swfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c
index 31f405d5cd..93487cc21a 100644
--- a/libavformat/swfenc.c
+++ b/libavformat/swfenc.c
@@ -229,7 +229,7 @@ static int swf_write_header(AVFormatContext *s)
}
if (!swf->audio_enc)
- swf->samples_per_frame = (44100. * rate_base) / rate;
+ swf->samples_per_frame = (44100.0 * rate_base) / rate;
else
swf->samples_per_frame = (swf->audio_enc->sample_rate * rate_base) / rate;