aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-04-04 17:56:34 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-04-10 09:04:41 -0400
commit839010aca9713b5cd6ebe7a1db7e805c3625b168 (patch)
tree57c18f6fd79a443f9973d63ed94489379ab8dc8c /libavfilter
parentf5950b8fd61ec85e0ad8790bea56b37ceea19436 (diff)
downloadffmpeg-839010aca9713b5cd6ebe7a1db7e805c3625b168.tar.gz
filtfmts-test: Mark filter as const
libavfilter/tests/filtfmts.c:57:18: warning: assigning to 'AVFilter *' (aka 'struct AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/tests/filtfmts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c
index cc04654222..6bd8237e31 100644
--- a/libavfilter/tests/filtfmts.c
+++ b/libavfilter/tests/filtfmts.c
@@ -28,7 +28,7 @@
int main(int argc, char **argv)
{
- AVFilter *filter;
+ const AVFilter *filter;
AVFilterContext *filter_ctx;
AVFilterGraph *graph_ctx;
const char *filter_name;