[FFmpeg-devel] [PATCH] Implement robust parsing in aspect filters.
Michael Niedermayer
michaelni
Fri Nov 19 01:59:16 CET 2010
On Fri, Nov 19, 2010 at 01:45:01AM +0100, Stefano Sabatini wrote:
> On date Friday 2010-11-19 01:24:59 +0100, Michael Niedermayer encoded:
> > On Thu, Nov 18, 2010 at 10:33:23PM +0100, Stefano Sabatini wrote:
> > > ---
> > > libavfilter/vf_aspect.c | 27 +++++++++++++++++----------
> > > 1 files changed, 17 insertions(+), 10 deletions(-)
> >
> > Mising explanation of what thix fixes
>
> aspect=1foo
> aspect=1:foo
> aspect=1:2foo
> aspect=1:3:foo
so put a %c at the end of the scanf string and check for == instead of <
thats much simpler and a cleaner patch too
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101119/3031d42f/attachment.pgp>
More information about the ffmpeg-devel
mailing list