mandelbrot: fix sscanf format string

Replace ',' with ':'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Giorgio Vazzana 2011-11-12 13:10:06 +01:00 committed by Michael Niedermayer
parent 3230c756f8
commit 6024bdb21a

View File

@ -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);