mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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]
This commit is contained in:
parent
f5950b8fd6
commit
839010aca9
@ -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…
x
Reference in New Issue
Block a user