mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame
This commit is contained in:
parent
c697c590fb
commit
c6a1ac2dd9
@ -103,7 +103,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
FPSContext *s = ctx->priv;
|
||||
if (s->fifo) {
|
||||
s->drop += av_fifo_size(s->fifo) / sizeof(AVFilterBufferRef*);
|
||||
s->drop += av_fifo_size(s->fifo) / sizeof(AVFrame*);
|
||||
flush_fifo(s->fifo);
|
||||
av_fifo_free(s->fifo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user