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

Michael Niedermayer michaelni at gmx.at
Sat Aug 4 19:32:57 CEST 2012


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

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

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- 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/20120804/915fdfc6/attachment.asc>


More information about the ffmpeg-devel mailing list