[FFmpeg-devel] [PATCH 25/47] fftools/cmdutils: drop unused ALLOC_ARRAY_ELEM()

Anton Khirnov anton at khirnov.net
Sat Jul 15 13:45:49 EEST 2023


---
 fftools/cmdutils.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h
index f54f3322ef..decd23040f 100644
--- a/fftools/cmdutils.h
+++ b/fftools/cmdutils.h
@@ -443,9 +443,6 @@ void *allocate_array_elem(void *array, size_t elem_size, int *nb_elems);
 #define GROW_ARRAY(array, nb_elems)\
     array = grow_array(array, sizeof(*array), &nb_elems, nb_elems + 1)
 
-#define ALLOC_ARRAY_ELEM(array, nb_elems)\
-    allocate_array_elem(&array, sizeof(*array[0]), &nb_elems)
-
 #define GET_PIX_FMT_NAME(pix_fmt)\
     const char *name = av_get_pix_fmt_name(pix_fmt);
 
-- 
2.40.1



More information about the ffmpeg-devel mailing list