[FFmpeg-soc] [soc]: r1426 - in libavfilter: avfiltergraph.c vf_fps.c vf_overlay.c vf_scale.c

vitor subversion at mplayerhq.hu
Sun Nov 4 18:20:17 CET 2007


Author: vitor
Date: Sun Nov  4 18:20:17 2007
New Revision: 1426

Log:
Remove useless empty functions

Modified:
   libavfilter/avfiltergraph.c
   libavfilter/vf_fps.c
   libavfilter/vf_overlay.c
   libavfilter/vf_scale.c

Modified: libavfilter/avfiltergraph.c
==============================================================================
--- libavfilter/avfiltergraph.c	(original)
+++ libavfilter/avfiltergraph.c	Sun Nov  4 18:20:17 2007
@@ -184,7 +184,6 @@ static AVFilter vf_graph_dummy =
     .priv_size = sizeof(GraphLinkContext),
 
     .init      = link_init,
-    //.uninit    = uninit,
 
     .inputs    = (AVFilterPad[]) {{ .name = NULL, }},
     .outputs   = (AVFilterPad[]) {{ .name = NULL, }},

Modified: libavfilter/vf_fps.c
==============================================================================
--- libavfilter/vf_fps.c	(original)
+++ libavfilter/vf_fps.c	Sun Nov  4 18:20:17 2007
@@ -82,10 +82,6 @@ static void end_frame(AVFilterLink *link
 {
 }
 
-static void draw_slice(AVFilterLink *link, int y, int h)
-{
-}
-
 static int request_frame(AVFilterLink *link)
 {
     FPSContext *fps = link->src->priv;
@@ -116,7 +112,6 @@ AVFilter avfilter_vf_fps =
     .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,
-                                    .draw_slice      = draw_slice,
                                     .query_formats   = query_formats,
                                     .end_frame       = end_frame, },
                                   { .name = NULL}},

Modified: libavfilter/vf_overlay.c
==============================================================================
--- libavfilter/vf_overlay.c	(original)
+++ libavfilter/vf_overlay.c	Sun Nov  4 18:20:17 2007
@@ -133,10 +133,6 @@ static void end_frame(AVFilterLink *link
 {
 }
 
-static void draw_slice(AVFilterLink *link, int y, int h)
-{
-}
-
 static int lower_timestamp(OverlayContext *over)
 {
     if(!over->pics[0][0] &&
@@ -230,7 +226,6 @@ AVFilter avfilter_vf_overlay =
     .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,
-                                    .draw_slice      = draw_slice,
                                     .query_formats   = query_formats_main,
                                     .config_props    = config_input_main,
                                     .end_frame       = end_frame,
@@ -239,7 +234,6 @@ AVFilter avfilter_vf_overlay =
                                   { .name            = "sub",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,
-                                    .draw_slice      = draw_slice,
                                     .query_formats   = query_formats_sub,
                                     .config_props    = config_input_sub,
                                     .end_frame       = end_frame,

Modified: libavfilter/vf_scale.c
==============================================================================
--- libavfilter/vf_scale.c	(original)
+++ libavfilter/vf_scale.c	Sun Nov  4 18:20:17 2007
@@ -140,10 +140,6 @@ static void end_frame(AVFilterLink *link
     avfilter_unref_pic(link->dst->outputs[0]->outpic);
 }
 
-static void draw_slice(AVFilterLink *link, int y, int h)
-{
-}
-
 AVFilter avfilter_vf_scale =
 {
     .name      = "scale",
@@ -157,7 +153,6 @@ AVFilter avfilter_vf_scale =
     .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                     .type            = AV_PAD_VIDEO,
                                     .start_frame     = start_frame,
-                                    .draw_slice      = draw_slice,
                                     .end_frame       = end_frame,
                                     .query_formats   = query_formats,
                                     .min_perms       = AV_PERM_READ, },



More information about the FFmpeg-soc mailing list