aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2011-11-12 13:10:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-12 21:00:12 +0100
commit6024bdb21a5bc5d356da408694c358f7ef9c38a4 (patch)
tree511636d988aa422d4898458c747e9969b6150fdb
parent3230c756f8891a35f4eb2b298a74185fe4816741 (diff)
downloadffmpeg-6024bdb21a5bc5d356da408694c358f7ef9c38a4.tar.gz
mandelbrot: fix sscanf format string
Replace ',' with ':' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vsrc_mandelbrot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index b52ac031f3..a7a39ae35d 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -76,7 +76,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
mb->bailout=100;
mb->outer= NORMALIZED_ITERATION_COUNT;
if (args)
- sscanf(args, "%127[^:]:%127[^:]:%d,%lf:%lf:%lf", frame_size, frame_rate, &mb->maxiter, &mb->start_x, &mb->start_y, &mb->start_scale);
+ sscanf(args, "%127[^:]:%127[^:]:%d:%lf:%lf:%lf", frame_size, frame_rate, &mb->maxiter, &mb->start_x, &mb->start_y, &mb->start_scale);
if (av_parse_video_size(&mb->w, &mb->h, frame_size) < 0) {
av_log(ctx, AV_LOG_ERROR, "Invalid frame size: %s\n", frame_size);