aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cutils.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-01 21:29:37 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-01 21:29:37 +0000
commitdba249abeea40ee07edcec5508e872f767dc8c0f (patch)
tree4a865bfec6fff843859013c41c88468804b576a0 /libavformat/cutils.c
parent333771210eca752a9a36d96b2fb8a3d31d30f91e (diff)
downloadffmpeg-dba249abeea40ee07edcec5508e872f767dc8c0f.tar.gz
ffmpeg: add a grow_array() helper function
Originally committed as revision 25297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/cutils.c')
-rw-r--r--libavformat/cutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/cutils.c b/libavformat/cutils.c
index 5092d99f6a..c1b56139c0 100644
--- a/libavformat/cutils.c
+++ b/libavformat/cutils.c
@@ -24,6 +24,7 @@
/* add one element to a dynamic array */
void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem)
{
+ /* see similar ffmpeg.c:grow_array() */
int nb, nb_alloc;
intptr_t *tab;