summaryrefslogtreecommitdiff
path: root/libavcodec/frwu.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2015-11-21 22:04:39 +0100
committerClément Bœsch <clement@stupeflix.com>2015-12-04 15:37:05 +0100
commitfb99ef0bd39a1859d0e65c6c16caa8e17dd3cfbe (patch)
tree1d44b87e82acd5a98851711c31b70482a9b24983 /libavcodec/frwu.c
parenta611375db532c3d5363d97b10fadd0211811a4fd (diff)
avcodec: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavcodec/frwu.c')
-rw-r--r--libavcodec/frwu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c
index 1aabefeb6f..e68fda967f 100644
--- a/libavcodec/frwu.c
+++ b/libavcodec/frwu.c
@@ -103,7 +103,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
}
static const AVOption frwu_options[] = {
- {"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), AV_OPT_TYPE_INT,
+ {"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), AV_OPT_TYPE_BOOL,
{.i64 = 0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM},
{NULL}
};