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]
pull/272/head
Vittorio Giovara 8 years ago
parent f5950b8fd6
commit 839010aca9
  1. 2
      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;

Loading…
Cancel
Save