[FFmpeg-cvslog] lavfi/tests/filtfmts: Constify a variable.
Carl Eugen Hoyos
git at videolan.org
Tue Oct 24 23:36:40 EEST 2017
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Tue Oct 24 22:32:59 2017 +0200| [3c14547eb75c5b18099060085d12f09518ee2732] | committer: Carl Eugen Hoyos
lavfi/tests/filtfmts: Constify a variable.
Fixes the following warning:
libavfilter/tests/filtfmts.c: In function ‘main’:
libavfilter/tests/filtfmts.c:103:18: warning: assignment discards ‘const’ qualifier from pointer target type
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c14547eb75c5b18099060085d12f09518ee2732
---
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 199d74d7a9..72b860ae5b 100644
--- a/libavfilter/tests/filtfmts.c
+++ b/libavfilter/tests/filtfmts.c
@@ -73,7 +73,7 @@ static void print_formats(AVFilterContext *filter_ctx)
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