[FFmpeg-cvslog] examples/transcoding: suppress build warning.
Jun Zhao
git at videolan.org
Wed Nov 1 03:11:07 EET 2017
ffmpeg | branch: master | Jun Zhao <jun.zhao at intel.com> | Tue Oct 31 16:09:45 2017 +0800| [fdfc51766d28087c44307ddb5a4b087d47dbe8ef] | committer: Michael Niedermayer
examples/transcoding: suppress build warning.
suppress the "warning: assignment discards ‘const’ qualifier from
pointer target type" build warning.
Signed-off-by: Jun Zhao <jun.zhao at intel.com>
Reviewed-by: Steven Liu <lingjiujianke at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fdfc51766d28087c44307ddb5a4b087d47dbe8ef
---
doc/examples/transcoding.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c
index e1b3311081..e32ab20245 100644
--- a/doc/examples/transcoding.c
+++ b/doc/examples/transcoding.c
@@ -227,8 +227,8 @@ static int init_filter(FilteringContext* fctx, AVCodecContext *dec_ctx,
{
char args[512];
int ret = 0;
- AVFilter *buffersrc = NULL;
- AVFilter *buffersink = NULL;
+ const AVFilter *buffersrc = NULL;
+ const AVFilter *buffersink = NULL;
AVFilterContext *buffersrc_ctx = NULL;
AVFilterContext *buffersink_ctx = NULL;
AVFilterInOut *outputs = avfilter_inout_alloc();
More information about the ffmpeg-cvslog
mailing list