summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 464ae64794..f968791b0e 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -1281,7 +1281,7 @@ static int parse_end_at(struct config *conf, const char* param)
end_at_type = END_AT_SIZE;
- if(sscanf(param, "%d%3s", &end_at, unit) == 2) {
+ if(sscanf(param, "%lf%3s", &end_at, unit) == 2) {
if(!strcasecmp(unit, "b"))
;
else if(!strcasecmp(unit, "kb"))