diff options
Diffstat (limited to 'libavfilter/vf_fps.c')
-rw-r--r-- | libavfilter/vf_fps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index d4305e7273..29eedc7cf5 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -109,6 +109,7 @@ static av_cold void uninit(AVFilterContext *ctx) { FPSContext *s = ctx->priv; if (s->fifo) { + s->drop += av_fifo_size(s->fifo) / sizeof(AVFilterBufferRef*); flush_fifo(s->fifo); av_fifo_free(s->fifo); } |