[FFmpeg-cvslog] avcodec/libaomenc: fix range of values for enable-intrabc option

James Almer git at videolan.org
Wed Apr 3 01:55:04 EEST 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr  2 19:54:34 2019 -0300| [0e1ea034d8fcc0c7c39414bccc94614656115dc0] | committer: James Almer

avcodec/libaomenc: fix range of values for enable-intrabc option

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e1ea034d8fcc0c7c39414bccc94614656115dc0
---

 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 },
 };
 



More information about the ffmpeg-cvslog mailing list