OSDN Git Service

http: Remove an unrelated and mistakenly set AVOption unit name
authorMartin Storsjö <martin@martin.st>
Wed, 20 Nov 2013 12:53:56 +0000 (14:53 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 22 Nov 2013 12:27:01 +0000 (14:27 +0200)
This was due to a copypaste oversight.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/http.c

index 344507e..a26ec2a 100644 (file)
@@ -82,7 +82,7 @@ static const AVOption options[] = {
 {"auth_type", "HTTP authentication type", OFFSET(auth_state.auth_type), AV_OPT_TYPE_INT, {.i64 = HTTP_AUTH_NONE}, HTTP_AUTH_NONE, HTTP_AUTH_BASIC, D|E, "auth_type" },
 {"none", "No auth method set, autodetect", 0, AV_OPT_TYPE_CONST, {.i64 = HTTP_AUTH_NONE}, 0, 0, D|E, "auth_type" },
 {"basic", "HTTP basic authentication", 0, AV_OPT_TYPE_CONST, {.i64 = HTTP_AUTH_BASIC}, 0, 0, D|E, "auth_type" },
-{"send_expect_100", "Force sending an Expect: 100-continue header for POST", OFFSET(send_expect_100), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, E, "auth_type" },
+{"send_expect_100", "Force sending an Expect: 100-continue header for POST", OFFSET(send_expect_100), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, E },
 {NULL}
 };
 #define HTTP_CLASS(flavor)\