mirror of https://github.com/FFmpeg/FFmpeg.git
When av_reallocp fails, the associated variables that keep track of the number of elements in the array (and in some cases, the separate number of allocated elements) need to be reset. Not all of these might technically be needed, but it's better to reset them if in doubt, to make sure variables don't end up conflicting. Signed-off-by: Martin Storsjö <martin@martin.st>pull/37/merge
parent
06ebc0bf9a
commit
d872fb0f7f
13 changed files with 47 additions and 16 deletions
Loading…
Reference in new issue