]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_rotate.c
lavfi: make two functions static.
[ffmpeg] / libavfilter / vf_rotate.c
index 42e725aca944f9d4ca4eedd47c84979b033d20b6..371ff7f722ba4ae04fd5d2d8f5c674f65d673e60 100644 (file)
@@ -522,7 +522,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     }
     av_frame_copy_props(out, in);
 
-    rot->var_values[VAR_N] = inlink->frame_count;
+    rot->var_values[VAR_N] = inlink->frame_count_out;
     rot->var_values[VAR_T] = TS2T(in->pts, inlink->time_base);
     rot->angle = res = av_expr_eval(rot->angle_expr, rot->var_values, rot);