diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-01-17 12:06:01 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-17 12:06:01 +0100 |
commit | 9b44f99329927b4ddbb4f8215c1d39562797df8e (patch) | |
tree | 3b86698d6715f1bde18d04201bf93b3dff6ba3ab /libavfilter/vf_removelogo.c | |
parent | 294854bd0a4ec92431b96906cf47a3b02f6c3af4 (diff) |
avfilter/bbox: add support for >8 depth
Diffstat (limited to 'libavfilter/vf_removelogo.c')
-rw-r--r-- | libavfilter/vf_removelogo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c index aff2d12a17..4026bdd09a 100644 --- a/libavfilter/vf_removelogo.c +++ b/libavfilter/vf_removelogo.c @@ -342,8 +342,8 @@ static av_cold int init(AVFilterContext *ctx) /* Calculate our bounding rectangles, which determine in what * region the logo resides for faster processing. */ - ff_calculate_bounding_box(&s->full_mask_bbox, s->full_mask_data, w, w, h, 0); - ff_calculate_bounding_box(&s->half_mask_bbox, s->half_mask_data, w/2, w/2, h/2, 0); + ff_calculate_bounding_box(&s->full_mask_bbox, s->full_mask_data, w, w, h, 0, 8); + ff_calculate_bounding_box(&s->half_mask_bbox, s->half_mask_data, w/2, w/2, h/2, 0, 8); #define SHOW_LOGO_INFO(mask_type) \ av_log(ctx, AV_LOG_VERBOSE, #mask_type " x1:%d x2:%d y1:%d y2:%d max_mask_size:%d\n", \ |