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;