[FFmpeg-devel] [PATCH] Implement robust parsing in aspect filters.

Stefano Sabatini stefano.sabatini-lala
Fri Nov 19 17:15:05 CET 2010


On date Friday 2010-11-19 01:59:16 +0100, Michael Niedermayer encoded:
> 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

Updated.
-- 
FFmpeg = Fanciful & Fascinating Mastering Proud Ecletic Gadget



More information about the ffmpeg-devel mailing list