avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2015-09-09 09:46:28 +00:00
parent 33a68759c1
commit 6603368ab4
1 changed files with 1 additions and 1 deletions

View File

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