Commit 3c9502b0 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: fix integer avoption types

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ffc1d959
...@@ -4198,8 +4198,8 @@ static const AVProfile profiles[] = { ...@@ -4198,8 +4198,8 @@ static const AVProfile profiles[] = {
}; };
static const AVOption h264_options[] = { static const AVOption h264_options[] = {
{"is_avc", "is avc", offsetof(H264Context, is_avc), FF_OPT_TYPE_INT, {.dbl = 0}, 0, 1, 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, {.dbl = 0}, 0, 4, 0}, {"nal_length_size", "nal_length_size", offsetof(H264Context, nal_length_size), FF_OPT_TYPE_INT, {.i64 = 0}, 0, 4, 0},
{NULL} {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