]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_vignette.c
aarch64: h264idct: Use the offset parameter to movrel
[ffmpeg] / libavfilter / vf_vignette.c
index 1d66c5025d094c448039c23b1a37ace0a1337e61..94b6c6ffff181903a4d8a43aa26963780d5e91de 100644 (file)
@@ -165,7 +165,7 @@ static void update_context(VignetteContext *s, AVFilterLink *inlink, AVFrame *fr
     int dst_linesize = s->fmap_linesize;
 
     if (frame) {
-        s->var_values[VAR_N]   = inlink->frame_count;
+        s->var_values[VAR_N]   = inlink->frame_count_out;
         s->var_values[VAR_T]   = TS2T(frame->pts, inlink->time_base);
         s->var_values[VAR_PTS] = TS2D(frame->pts);
     } else {