summaryrefslogtreecommitdiff
path: root/libavfilter/vf_bm3d.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-11-18 17:39:45 +0100
committerPaul B Mahol <onemda@gmail.com>2019-11-18 17:39:45 +0100
commit76ef2ec4715b296019cef40eb18d4fbd226b3d7f (patch)
tree82fc7d80fbc7564aed0a2a33cf69cde4d0037994 /libavfilter/vf_bm3d.c
parentcb844376c3f6cb6a25cedac9cf6ead8131cc7adb (diff)
downloadffmpeg-76ef2ec4715b296019cef40eb18d4fbd226b3d7f.tar.gz
avfilter/vf_bm3d: use boolean for ref option
Diffstat (limited to 'libavfilter/vf_bm3d.c')
-rw-r--r--libavfilter/vf_bm3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c
index 248fc6fa7d..2343f2e114 100644
--- a/libavfilter/vf_bm3d.c
+++ b/libavfilter/vf_bm3d.c
@@ -153,7 +153,7 @@ static const AVOption bm3d_options[] = {
{ "final", "final estimate",
0, AV_OPT_TYPE_CONST, {.i64=FINAL}, 0, 0, FLAGS, "mode" },
{ "ref", "have reference stream",
- OFFSET(ref), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
+ OFFSET(ref), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
{ "planes", "set planes to filter",
OFFSET(planes), AV_OPT_TYPE_INT, {.i64=7}, 0, 15, FLAGS },
{ NULL }