[FFmpeg-soc] [soc]: r745 - libavfilter/vf_fps.c

koorogi subversion at mplayerhq.hu
Mon Aug 13 18:51:34 CEST 2007


Author: koorogi
Date: Mon Aug 13 18:51:34 2007
New Revision: 745

Log:
Fix the size of the private context.


Modified:
   libavfilter/vf_fps.c

Modified: libavfilter/vf_fps.c
==============================================================================
--- libavfilter/vf_fps.c	(original)
+++ libavfilter/vf_fps.c	Mon Aug 13 18:51:34 2007
@@ -43,8 +43,6 @@ static int init(AVFilterContext *ctx, co
         /* default to 25 fps */
         fps->timebase = 1000 / 25;
 
-    fps->pts = 0;
-
     return 0;
 }
 
@@ -113,6 +111,8 @@ AVFilter vf_fps =
     .init      = init,
     .uninit    = uninit,
 
+    .priv_size = sizeof(FPSContext),
+
     .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,



More information about the FFmpeg-soc mailing list