diff options
author | Jun Zhao <jun.zhao@intel.com> | 2017-10-31 16:11:06 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-01 02:10:09 +0100 |
commit | cb6e20f8de12cf6401ae2dd5f9eea9587ddfe1eb (patch) | |
tree | 2f7e6c03d6e981c586b9a7272cac418ca4e56e41 /doc | |
parent | fdfc51766d28087c44307ddb5a4b087d47dbe8ef (diff) | |
download | ffmpeg-cb6e20f8de12cf6401ae2dd5f9eea9587ddfe1eb.tar.gz |
examples/filtering_video: suppress the build warning.
suppress the "warning: assignment discards ‘const’ qualifier from
pointer target type" build warning.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/filtering_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index fedb2e1c99..9b607ba016 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -92,8 +92,8 @@ static int init_filters(const char *filters_descr) { char args[512]; int ret = 0; - AVFilter *buffersrc = avfilter_get_by_name("buffer"); - AVFilter *buffersink = avfilter_get_by_name("buffersink"); + const AVFilter *buffersrc = avfilter_get_by_name("buffer"); + const AVFilter *buffersink = avfilter_get_by_name("buffersink"); AVFilterInOut *outputs = avfilter_inout_alloc(); AVFilterInOut *inputs = avfilter_inout_alloc(); AVRational time_base = fmt_ctx->streams[video_stream_index]->time_base; |