[FFmpeg-cvslog] ffmpeg: get rid of a pointless limit on number of streams.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Jul 16 11:11:24 CEST 2011


On Thu, Jul 14, 2011 at 02:36:45AM +0200, Anton Khirnov wrote:
> ffmpeg: get rid of a pointless limit on number of streams.

Pointless is an exaggeration

> -    if(stream >= MAX_STREAMS)
> -        ffmpeg_exit(1);
> -
>      ts_scale = grow_array(ts_scale, sizeof(*ts_scale), &nb_ts_scale, stream + 1);

Considering it at least prevented the possible integer overflow here.


More information about the ffmpeg-cvslog mailing list