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_bbox.c | |
parent | 294854bd0a4ec92431b96906cf47a3b02f6c3af4 (diff) | |
download | ffmpeg-9b44f99329927b4ddbb4f8215c1d39562797df8e.tar.gz |
avfilter/bbox: add support for >8 depth
Diffstat (limited to 'libavfilter/vf_bbox.c')
-rw-r--r-- | libavfilter/vf_bbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c index 4ac2980a6c..79fa03d7f5 100644 --- a/libavfilter/vf_bbox.c +++ b/libavfilter/vf_bbox.c @@ -75,7 +75,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) has_bbox = ff_calculate_bounding_box(&box, frame->data[0], frame->linesize[0], - inlink->w, inlink->h, bbox->min_val); + inlink->w, inlink->h, bbox->min_val, 8); w = box.x2 - box.x1 + 1; h = box.y2 - box.y1 + 1; |