diff options
author | Peter Ross <pross@xvid.org> | 2018-11-19 20:03:39 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2018-11-21 23:26:29 +1100 |
commit | 1ee4b4006be6c34a0dfec367a60942b85d13238e (patch) | |
tree | 251a7ee86ea6b99972ddb44453dcc3f14172b5ca | |
parent | 77bf85515e59f7b17685fbbec943ff46f6217719 (diff) | |
download | ffmpeg-1ee4b4006be6c34a0dfec367a60942b85d13238e.tar.gz |
avfilter/graphmonitor: use SIZE_SPECIFIER for size_t type
-rw-r--r-- | libavfilter/f_graphmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_graphmonitor.c b/libavfilter/f_graphmonitor.c index 7052c84d9b..c001835364 100644 --- a/libavfilter/f_graphmonitor.c +++ b/libavfilter/f_graphmonitor.c @@ -211,7 +211,7 @@ static void draw_items(AVFilterContext *ctx, AVFrame *out, snprintf(buffer, sizeof(buffer)-1, " | queue: "); drawtext(out, xpos, ypos, buffer, s->white); xpos += strlen(buffer) * 8; - snprintf(buffer, sizeof(buffer)-1, "%"PRId64, frames); + snprintf(buffer, sizeof(buffer)-1, "%"SIZE_SPECIFIER, frames); drawtext(out, xpos, ypos, buffer, frames > 0 ? frames >= 10 ? frames >= 50 ? s->red : s->yellow : s->green : s->white); xpos += strlen(buffer) * 8; } |