summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-16 15:35:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-16 16:07:29 +0200
commit247fa6c27c4589d0f7a427c520d782edbb6de060 (patch)
tree2150c56746e7e3952171ca3e7c9022bc5fda27e8 /libavfilter
parentc62801270f3ec32f97966b0593c9919a95394db1 (diff)
downloadffmpeg-streaming-247fa6c27c4589d0f7a427c520d782edbb6de060.zip
ffmpeg-streaming-247fa6c27c4589d0f7a427c520d782edbb6de060.tar.gz
avfilter: remove ff_copy_int*_list
The functions are unused Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/formats.c14
-rw-r--r--libavfilter/internal.h12
2 files changed, 0 insertions, 26 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index ae8a456..d51bf3c 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -274,20 +274,6 @@ int ff_fmt_is_in(int fmt, const int *fmts)
} \
}
-int *ff_copy_int_list(const int * const list)
-{
- int *ret = NULL;
- COPY_INT_LIST(ret, list, int);
- return ret;
-}
-
-int64_t *ff_copy_int64_list(const int64_t * const list)
-{
- int64_t *ret = NULL;
- COPY_INT_LIST(ret, list, int64_t);
- return ret;
-}
-
#define MAKE_FORMAT_LIST(type, field, count_field) \
type *formats; \
int count = 0; \
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 90b4bf4..eede4f7 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -163,18 +163,6 @@ void ff_avfilter_default_free_buffer(AVFilterBuffer *buf);
/** Tell is a format is contained in the provided list terminated by -1. */
int ff_fmt_is_in(int fmt, const int *fmts);
-/**
- * Return a copy of a list of integers terminated by -1, or NULL in
- * case of copy failure.
- */
-int *ff_copy_int_list(const int * const list);
-
-/**
- * Return a copy of a list of 64-bit integers, or NULL in case of
- * copy failure.
- */
-int64_t *ff_copy_int64_list(const int64_t * const list);
-
/* Functions to parse audio format arguments */
/**
OpenPOWER on IntegriCloud