From 0e1ea034d8fcc0c7c39414bccc94614656115dc0 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 2 Apr 2019 19:54:34 -0300 Subject: [PATCH] avcodec/libaomenc: fix range of values for enable-intrabc option Signed-off-by: James Almer --- libavcodec/libaomenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index a0fceddea5..a42a5b7027 100644 --- a/libavcodec/libaomenc.c +++ b/libavcodec/libaomenc.c @@ -1086,7 +1086,7 @@ static const AVOption options[] = { { "row-mt", "Enable row based multi-threading", OFFSET(row_mt), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE}, { "enable-cdef", "Enable CDEF filtering", OFFSET(enable_cdef), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE}, { "enable-global-motion", "Enable global motion", OFFSET(enable_global_motion), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE}, - { "enable-intrabc", "Enable intra block copy prediction mode", OFFSET(enable_intrabc), AV_OPT_TYPE_BOOL, {.i64 = -1}, 0, 1, VE}, + { "enable-intrabc", "Enable intra block copy prediction mode", OFFSET(enable_intrabc), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE}, { NULL }, };