aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-07 03:13:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-07 03:20:36 +0200
commit3c9502b0f68a9bd79b38f8390a66b69737014d35 (patch)
treec7d408d2f2475bdff47d0e205ef36ed09eb8db08 /libavcodec
parentffc1d959a0bb296bb3c83cd18ee447a0b8262c04 (diff)
downloadffmpeg-3c9502b0f68a9bd79b38f8390a66b69737014d35.tar.gz
h264: fix integer avoption types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c4
1 files 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}
};