aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-02-07 21:00:54 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-02-07 21:00:54 +0100
commit872855e2a5ead964dab50feb7d800509fc61d15a (patch)
tree15b2ff82e71343c63e7678f3aaab47c0459a0862 /libavfilter/f_select.c
parent1afbb4c226203c1a0853c9ad469cd9ef337080e4 (diff)
downloadffmpeg-872855e2a5ead964dab50feb7d800509fc61d15a.tar.gz
lavfi/select: avoid double -> int lossy conversion in debug log
Diffstat (limited to 'libavfilter/f_select.c')
-rw-r--r--libavfilter/f_select.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 4881a85ece..fabddefcc9 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -299,11 +299,11 @@ static int select_frame(AVFilterContext *ctx, AVFilterBufferRef *ref)
res = av_expr_eval(select->expr, select->var_values, NULL);
av_log(inlink->dst, AV_LOG_DEBUG,
- "n:%d pts:%d t:%f pos:%d key:%d",
- (int)select->var_values[VAR_N],
- (int)select->var_values[VAR_PTS],
+ "n:%f pts:%f t:%f pos:%f key:%d",
+ select->var_values[VAR_N],
+ select->var_values[VAR_PTS],
select->var_values[VAR_T],
- (int)select->var_values[VAR_POS],
+ select->var_values[VAR_POS],
(int)select->var_values[VAR_KEY]);
switch (inlink->type) {