On Mon, May 04, 2015 at 11:01:45PM +0200, Andreas Cadhalpun wrote:
> If max in clean_index is set to a negative ast->sample_size, the
> following loop never ends:
>         while (max < 1024)
>             max += max;
> 
> Thus set ast->sample_size to 0 if it would otherwise be negative.
> 
> Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
> ---
>  libavformat/avidec.c | 1 +
>  1 file changed, 1 insertion(+)

applied

added a warning message for this case too

thanks

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

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to