Commit 6603368a authored by Paul B Mahol's avatar Paul B Mahol

avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 33a68759
......@@ -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 },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment