[FFmpeg-devel] [PATCH] mandelbrot: fix sscanf format string

Michael Niedermayer michaelni at gmx.at
Sat Nov 12 20:13:15 CET 2011


On Sat, Nov 12, 2011 at 01:32:10PM +0100, Giorgio Vazzana wrote:
> Hello,
> 
> I had to apply this patch in order to pass start_x, start_y and
> start_scale parameters to the filter.

>  vsrc_mandelbrot.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> cab32107a5d8e7a8ef60b015551a0b68922e7167  0001-mandelbrot-fix-sscanf-format-string.patch
> From ac969f52d295aece30a628bed79d93ebb3bb8034 Mon Sep 17 00:00:00 2001
> From: Giorgio Vazzana <mywing81 at gmail.com>
> Date: Sat, 12 Nov 2011 13:10:06 +0100
> Subject: [PATCH] mandelbrot: fix sscanf format string
> 
> Replace ',' with ':'

applied, thanks

maybe you can also fix the argument parsing code so all option could
be set ?

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111112/66d5218c/attachment.asc>


More information about the ffmpeg-devel mailing list