]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ftp.c
Revert "Merge commit '9f1eccb97bf8894cb18b14f642500686505ef186'"
[ffmpeg] / libavformat / ftp.c
index dcb588dac29966f1dc58b8ecf96f82a98eb7ea60..4526dd73a0a14e94d0e803b2780833c56c906512 100644 (file)
@@ -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}
 };