[Mlt-devel] [PATCH] fix array index out of range

2012-09-28 Thread Maksym Veremeyenko
Hi, during enumerating self-audio_codec or other arrays that has limit MAX_AUDIO_STREAMS it is possible to access out of index range. attached patch fix that behavior. NB i noticed that current value of MAX_AUDIO_STREAMS is 10. that mean that it will be unable to access audio track with

Re: [Mlt-devel] [PATCH] fix array index out of range

2012-09-28 Thread Dan Dennedy
On Fri, Sep 28, 2012 at 7:29 AM, Maksym Veremeyenko ve...@m1stereo.tv wrote: Hi, during enumerating self-audio_codec or other arrays that has limit MAX_AUDIO_STREAMS it is possible to access out of index range. attached patch fix that behavior. thank you NB i noticed that current value