From 3c9502b0f68a9bd79b38f8390a66b69737014d35 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 7 Oct 2012 03:13:31 +0200 Subject: [PATCH] h264: fix integer avoption types Signed-off-by: Michael Niedermayer --- libavcodec/h264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 9a2d9d7583..ca32b70948 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4198,8 +4198,8 @@ static const AVProfile profiles[] = { }; static const AVOption h264_options[] = { - {"is_avc", "is avc", offsetof(H264Context, is_avc), FF_OPT_TYPE_INT, {.dbl = 0}, 0, 1, 0}, - {"nal_length_size", "nal_length_size", offsetof(H264Context, nal_length_size), FF_OPT_TYPE_INT, {.dbl = 0}, 0, 4, 0}, + {"is_avc", "is avc", offsetof(H264Context, is_avc), FF_OPT_TYPE_INT, {.i64 = 0}, 0, 1, 0}, + {"nal_length_size", "nal_length_size", offsetof(H264Context, nal_length_size), FF_OPT_TYPE_INT, {.i64 = 0}, 0, 4, 0}, {NULL} };