[FFmpeg-cvslog] filtfmts-test: Mark filter as const
Vittorio Giovara
git at videolan.org
Thu Oct 26 22:51:58 EEST 2017
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Apr 4 17:56:34 2017 +0200| [839010aca9713b5cd6ebe7a1db7e805c3625b168] | committer: Vittorio Giovara
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]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=839010aca9713b5cd6ebe7a1db7e805c3625b168
---
libavfilter/tests/filtfmts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list