[FFmpeg-cvslog] lavfi/nnedi: Fix a compilation warning.

Carl Eugen Hoyos git at videolan.org
Tue Feb 23 00:24:04 CET 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Feb 23 00:21:49 2016 +0100| [37afeabd1b836fc77debc597f9e5b5de3c27ebfc] | committer: Carl Eugen Hoyos

lavfi/nnedi: Fix a compilation warning.

Silences the following warning:
libavfilter/vf_nnedi.c:611:15: warning: assignment discards ‘const’ qualifier from pointer target type

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=37afeabd1b836fc77debc597f9e5b5de3c27ebfc
---

 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 ad0c52a..b14aa64 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;



More information about the ffmpeg-cvslog mailing list