diff options
author | Clément Bœsch <u@pkh.me> | 2015-03-14 21:14:46 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-03-16 23:43:12 +0100 |
commit | 38fb183b125657f2356183b1e2a493d3eda7f02c (patch) | |
tree | 459f43d3cf3cef74b08e030b8df27a82e13d6bd1 /libavfilter | |
parent | ae65cc7ed3647a769ded853cc2771eda5c11b66e (diff) | |
download | ffmpeg-38fb183b125657f2356183b1e2a493d3eda7f02c.tar.gz |
avfilter/formats: remove unused COPY_INT_LIST() macro
This macro is unused since 247fa6c27c4589d0f7a427c520d782edbb6de060.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/formats.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c index f25328ca2d..1fc7fa6019 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -262,18 +262,6 @@ int ff_fmt_is_in(int fmt, const int *fmts) return 0; } -#define COPY_INT_LIST(list_copy, list, type) { \ - int count = 0; \ - if (list) \ - for (count = 0; list[count] != -1; count++) \ - ; \ - list_copy = av_calloc(count+1, sizeof(type)); \ - if (list_copy) { \ - memcpy(list_copy, list, sizeof(type) * count); \ - list_copy[count] = -1; \ - } \ -} - #define MAKE_FORMAT_LIST(type, field, count_field) \ type *formats; \ int count = 0; \ |