aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-09 09:46:28 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-09 10:01:10 +0000
commit6603368ab41d958647d3a71d44fb8417c6fafac4 (patch)
tree94d43121bde5e224fdff50f9ec9d218f681b9880
parent33a68759c135652e4da38704e1a5863c3d92305e (diff)
downloadffmpeg-6603368ab41d958647d3a71d44fb8417c6fafac4.tar.gz
avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/huffyuvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c
index 40044a4483..49d711a948 100644
--- a/libavcodec/huffyuvenc.c
+++ b/libavcodec/huffyuvenc.c
@@ -1045,7 +1045,7 @@ static av_cold int encode_end(AVCodecContext *avctx)
static const AVOption options[] = {
{ "non_deterministic", "Allow multithreading for e.g. context=1 at the expense of determinism",
- offsetof(HYuvContext, non_determ), AV_OPT_TYPE_INT, { .i64 = 1 },
+ offsetof(HYuvContext, non_determ), AV_OPT_TYPE_BOOL, { .i64 = 1 },
0, 1, AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ NULL },
};