[FFmpeg-devel] [PATCH] lavf/img2dec: introduce and use FIRST_INDEX_SEARCH_RANGE macro in find_image_range

Stefano Sabatini stefasab at gmail.com
Sun Aug 5 00:43:35 CEST 2012


On date Saturday 2012-08-04 19:32:57 +0200, Michael Niedermayer encoded:
> On Sat, Aug 04, 2012 at 06:39:21PM +0200, Stefano Sabatini wrote:
> > ---
> >  libavformat/img2dec.c |    6 ++++--
> >  1 files changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
> > index 25aa3ce..144e264 100644
> > --- a/libavformat/img2dec.c
> > +++ b/libavformat/img2dec.c
> > @@ -108,6 +108,8 @@ static int is_glob(const char *path)
> >  #endif
> >  }
> >  
> > +#define FIRST_INDEX_SEARCH_RANGE 5
> 
> maybe this could be made an user setable parameter too

Yes I had the same idea, but unrelated.

Patch applied.
-- 
FFmpeg = Faithless Fanciful Marvellous Philosophical Erroneous Gargoyle


More information about the ffmpeg-devel mailing list