lavu/mem: fix potential int overflow and crash in av_dynarray_add()
authorStefano Sabatini <stefasab@gmail.com>
Wed, 24 Apr 2013 22:27:46 +0000 (00:27 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 7 May 2013 23:39:12 +0000 (01:39 +0200)
commitee9794ed20528c2aa4c53cf67cb218bdce6e0485
tree72180c5e92de0d748d2b828438d745c04c93fb4c
parentc773adee3fda94e943ead1292330d25b28e10deb
lavu/mem: fix potential int overflow and crash in av_dynarray_add()

Also extend documentation accordingly.
libavutil/mem.c
libavutil/mem.h