summaryrefslogtreecommitdiff
path: root/libavfilter/vf_bbox.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-04-11 14:00:43 +0000
committerPaul B Mahol <onemda@gmail.com>2013-04-11 14:02:59 +0000
commit567feaafa807279927f9e85915482b6b27ef1968 (patch)
tree3c47a56a3ff3d354009e69b9ee39fb7095458462 /libavfilter/vf_bbox.c
parent580a0600efbb374ec2228ff4c0ac44528259cde3 (diff)
lavfi/bbox: remove unused variables and functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_bbox.c')
-rw-r--r--libavfilter/vf_bbox.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c
index 4ff0625a5d..6b4cdd01b6 100644
--- a/libavfilter/vf_bbox.c
+++ b/libavfilter/vf_bbox.c
@@ -31,16 +31,8 @@
typedef struct {
unsigned int frame;
- int vsub, hsub;
} BBoxContext;
-static av_cold int init(AVFilterContext *ctx, const char *args)
-{
- BBoxContext *bbox = ctx->priv;
- bbox->frame = 0;
- return 0;
-}
-
static int query_formats(AVFilterContext *ctx)
{
static const enum AVPixelFormat pix_fmts[] = {
@@ -92,7 +84,6 @@ static const AVFilterPad bbox_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
@@ -111,7 +102,6 @@ AVFilter avfilter_vf_bbox = {
.description = NULL_IF_CONFIG_SMALL("Compute bounding box for each frame."),
.priv_size = sizeof(BBoxContext),
.query_formats = query_formats,
- .init = init,
.inputs = bbox_inputs,
.outputs = bbox_outputs,
};