[SCM] libav/experimental: vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:04:08 UTC 2014


The following commit has been merged in the experimental branch:
commit c6a1ac2dd9808a4753dd005ab5747dda68ab454f
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sat Aug 2 12:30:11 2014 -0700

    vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame

diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index 5f62ffd..ea22d37 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -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);
     }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list