mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 13:00:33 +00:00
lavfi/bbox: remove unused variables and functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
580a0600ef
commit
567feaafa8
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user