[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()

Stefano Sabatini stefano.sabatini-lala
Fri Feb 13 01:37:29 CET 2009


weirdly enough this bug doesn't show up with ffplay so I didn't
noticed when I tested anyway:

Currently the "filters" var is incremented after the assignment, so it
will point to the next char after "chr", if chr is the termination
'\0' char then filters points to a char with a random value.

-vfilters strings like "foofilter x" also are not correctly detected
as invalid.

This increases my kolapoints by 10.

I'll apply it tomorrow to both SVN and libavfilter-soc.

FFmpeg = Furious Forgiving Mean Pitiful Ecumenical Gangster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-avfilter-graph-parser.patch
Type: text/x-diff
Size: 452 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090213/4fe0b249/attachment.patch>

More information about the ffmpeg-devel mailing list