[FFmpeg-devel] [HACK] Remove MAX_STREAMS usages
Ronald S. Bultje
rsbultje
Fri Aug 13 00:52:54 CEST 2010
Hi,
On Sun, Aug 8, 2010 at 4:40 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> this is just a quick hack that removes all usages of
> MAX_STREAMS.
I was looking at the MMS use of this, and one is a sanity check to
make sure we don't add more streams then would be reasonably useless /
probably trash repeat file / exploit code.
It seems to me such checks should be introduced elsewhere also. Is
keeping MAX_STREAMS or a new macro at a reasonably large value (1000
or so) ok for that? Not for size of arrays, we can forbid that in the
doxy, but just as a sanity check.
Ronald
More information about the ffmpeg-devel
mailing list