[FFmpeg-cvslog] mandelbrot: fix sscanf format string

Giorgio Vazzana git at videolan.org
Sat Nov 12 21:03:01 CET 2011


ffmpeg | branch: master | Giorgio Vazzana <mywing81 at gmail.com> | Sat Nov 12 13:10:06 2011 +0100| [6024bdb21a5bc5d356da408694c358f7ef9c38a4] | committer: Michael Niedermayer

mandelbrot: fix sscanf format string

Replace ',' with ':'

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6024bdb21a5bc5d356da408694c358f7ef9c38a4
---

 libavfilter/vsrc_mandelbrot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index b52ac03..a7a39ae 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);



More information about the ffmpeg-cvslog mailing list