[FFmpeg-cvslog] vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame

Diego Biurrun git at videolan.org
Sun Aug 3 19:17:19 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Aug  2 12:30:11 2014 -0700| [c6a1ac2dd9808a4753dd005ab5747dda68ab454f] | committer: Diego Biurrun

vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6a1ac2dd9808a4753dd005ab5747dda68ab454f
---

 libavfilter/vf_fps.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }



More information about the ffmpeg-cvslog mailing list