Re: [Mlt-devel] [PATCH] fix array index out of range
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2012-09-28 16:29:32
|
On Fri, Sep 28, 2012 at 7:29 AM, Maksym Veremeyenko <ve...@m1...> 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 of MAX_AUDIO_STREAMS is 10. that mean that it > will be unable to access audio track with index 11 or more. so i would > suggest to increase MAX_AUDIO_STREAMS value up to 32 or bigger I guess that since you discovered you have this problem you actually have some files with more than 10 tracks! OK, I will increase it to 32 - seems like a substantial number without being excessive. -- +-DRD-+ |