From 37afeabd1b836fc77debc597f9e5b5de3c27ebfc Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 23 Feb 2016 00:21:49 +0100 Subject: [PATCH] lavfi/nnedi: Fix a compilation warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Silences the following warning: libavfilter/vf_nnedi.c:611:15: warning: assignment discards ‘const’ qualifier from pointer target type --- libavfilter/vf_nnedi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c index ad0c52ac7e..b14aa64c04 100644 --- a/libavfilter/vf_nnedi.c +++ b/libavfilter/vf_nnedi.c @@ -601,7 +601,7 @@ static void evalfunc_1(NNEDIContext *s, FrameData *frame_data) const int ystart = frame_data->field[plane]; const int ystop = height - 12; - uint8_t *srcpp; + const uint8_t *srcpp; if (!(s->process_plane & (1 << plane))) continue;