diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-14 05:42:10 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-14 05:42:10 +0100 |
commit | b1b0fd27906d4771d64eca3d878ae2336a1fb969 (patch) | |
tree | 35751aa35cc40740cd16af5b88976315615441ba /libavfilter | |
parent | 5f268ca5c57f3ad3050b58f513651c17304d3653 (diff) | |
download | ffmpeg-b1b0fd27906d4771d64eca3d878ae2336a1fb969.tar.gz |
pad: fix format string length
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_pad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index c6e8271400..1634f789f0 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -114,7 +114,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) av_strlcpy(pad->y_expr, "0" , sizeof(pad->h_expr)); if (args) - sscanf(args, "%255[^:]:%255[^:]:%255[^:]:%255[^:]:%255s", + sscanf(args, "%255[^:]:%255[^:]:%255[^:]:%255[^:]:%127s", pad->w_expr, pad->h_expr, pad->x_expr, pad->y_expr, color_string); if (av_parse_color(pad->color, color_string, -1, ctx) < 0) |