From 43ecec0f0386557ef6f80729ab985098fbee71e8 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 21 Nov 2015 22:05:07 +0100 Subject: avformat: use AV_OPT_TYPE_BOOL in a bunch of places --- libavformat/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/ftp.c') diff --git a/libavformat/ftp.c b/libavformat/ftp.c index dcb588dac2..4526dd73a0 100644 --- a/libavformat/ftp.c +++ b/libavformat/ftp.c @@ -76,7 +76,7 @@ typedef struct { #define E AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { {"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, D|E }, - {"ftp-write-seekable", "control seekability of connection during encoding", OFFSET(write_seekable), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, E }, + {"ftp-write-seekable", "control seekability of connection during encoding", OFFSET(write_seekable), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, E }, {"ftp-anonymous-password", "password for anonymous login. E-mail address should be used.", OFFSET(anonymous_password), AV_OPT_TYPE_STRING, { 0 }, 0, 0, D|E }, {NULL} }; -- cgit v1.2.3