]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_fps.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_fps.c
index 6b99f20d2bb367ac3593138fd0bd770d79ba3b36..b7b2d6f2dbf7f0ae0fa0fc12f441db667329572b 100644 (file)
@@ -256,7 +256,7 @@ static int write_frame(AVFilterContext *ctx, FPSContext *s, AVFilterLink *outlin
         av_log(ctx, AV_LOG_DEBUG, "Writing frame with pts %"PRId64" to pts %"PRId64"\n",
                s->frames[0]->pts, frame->pts);
         s->cur_frame_out++;
-
+        *again = 1;
         return ff_filter_frame(outlink, frame);
     }
 }
@@ -343,7 +343,7 @@ static const AVFilterPad avfilter_vf_fps_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_fps = {
+const AVFilter ff_vf_fps = {
     .name        = "fps",
     .description = NULL_IF_CONFIG_SMALL("Force constant framerate."),
     .init        = init,