This macro is unused since 247fa6c27c4589d0f7a427c520d782edbb6de060.
Clément Bœsch authored on 2015/03/15 05:14:46... | ... |
@@ -262,18 +262,6 @@ int ff_fmt_is_in(int fmt, const int *fmts) |
262 | 262 |
return 0; |
263 | 263 |
} |
264 | 264 |
|
265 |
-#define COPY_INT_LIST(list_copy, list, type) { \ |
|
266 |
- int count = 0; \ |
|
267 |
- if (list) \ |
|
268 |
- for (count = 0; list[count] != -1; count++) \ |
|
269 |
- ; \ |
|
270 |
- list_copy = av_calloc(count+1, sizeof(type)); \ |
|
271 |
- if (list_copy) { \ |
|
272 |
- memcpy(list_copy, list, sizeof(type) * count); \ |
|
273 |
- list_copy[count] = -1; \ |
|
274 |
- } \ |
|
275 |
-} |
|
276 |
- |
|
277 | 265 |
#define MAKE_FORMAT_LIST(type, field, count_field) \ |
278 | 266 |
type *formats; \ |
279 | 267 |
int count = 0; \ |