[FFmpeg-cvslog] avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option
Paul B Mahol
git at videolan.org
Wed Sep 9 12:01:38 CEST 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Sep 9 09:46:28 2015 +0000| [6603368ab41d958647d3a71d44fb8417c6fafac4] | committer: Paul B Mahol
avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6603368ab41d958647d3a71d44fb8417c6fafac4
---
libavcodec/huffyuvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c
index 40044a4..49d711a 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 },
};
More information about the ffmpeg-cvslog
mailing list