[FFmpeg-cvslog] lavfi/select: avoid double -> int lossy conversion in debug log
Stefano Sabatini
git at videolan.org
Thu Feb 7 21:30:59 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Feb 7 21:00:54 2013 +0100| [872855e2a5ead964dab50feb7d800509fc61d15a] | committer: Stefano Sabatini
lavfi/select: avoid double -> int lossy conversion in debug log
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=872855e2a5ead964dab50feb7d800509fc61d15a
---
libavfilter/f_select.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 4881a85..fabddef 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) {
More information about the ffmpeg-cvslog
mailing list