You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/formats: remove unused COPY_INT_LIST() macro
This macro is unused since 247fa6c27c
.
This commit is contained in:
@@ -262,18 +262,6 @@ int ff_fmt_is_in(int fmt, const int *fmts)
|
|||||||
return 0;
|
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) \
|
#define MAKE_FORMAT_LIST(type, field, count_field) \
|
||||||
type *formats; \
|
type *formats; \
|
||||||
int count = 0; \
|
int count = 0; \
|
||||||
|
Reference in New Issue
Block a user