aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ftp.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2015-11-21 22:05:07 +0100
committerClément Bœsch <clement@stupeflix.com>2015-12-04 15:43:33 +0100
commit43ecec0f0386557ef6f80729ab985098fbee71e8 (patch)
treeea4239f3a3b424a2138bda1d6098920a1df94f35 /libavformat/ftp.c
parent0e62b5d1ef1312adb2c4815fcd59c5bcd6dc4419 (diff)
downloadandroid_external_ffmpeg-43ecec0f0386557ef6f80729ab985098fbee71e8.tar.gz
android_external_ffmpeg-43ecec0f0386557ef6f80729ab985098fbee71e8.tar.bz2
android_external_ffmpeg-43ecec0f0386557ef6f80729ab985098fbee71e8.zip
avformat: use AV_OPT_TYPE_BOOL in a bunch of places
Diffstat (limited to 'libavformat/ftp.c')
-rw-r--r--libavformat/ftp.c2
1 files changed, 1 insertions, 1 deletions
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}
};