aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-31 01:42:13 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-10-31 01:55:00 +0100
commitd8be5bda1b96e9cf3e14f7940105c954543ca905 (patch)
tree841ce65325da5cc609a95171feb753c549e9efea /libavformat
parent1cd5797f8ec814a4ef8945a455837bcee0e29a62 (diff)
downloadffmpeg-d8be5bda1b96e9cf3e14f7940105c954543ca905.tar.gz
avformat/http: fix cookies
Fixes Ticket3096 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b73900b8a6c0a23e63e84a5eed0a5b9b3ffe1198)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index c5b5c53814..9be1181f30 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -95,7 +95,7 @@ static const AVOption options[] = {
{"multiple_requests", "use persistent connections", OFFSET(multiple_requests), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D|E },
{"post_data", "set custom HTTP post data", OFFSET(post_data), AV_OPT_TYPE_BINARY, .flags = D|E },
{"mime_type", "set MIME type", OFFSET(mime_type), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 },
-{"cookies", "set cookies to be sent in applicable future requests, use newline delimited Set-Cookie HTTP field value syntax", OFFSET(cookies), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 },
+{"cookies", "set cookies to be sent in applicable future requests, use newline delimited Set-Cookie HTTP field value syntax", OFFSET(cookies), AV_OPT_TYPE_STRING, {0}, 0, 0, D },
{"icy", "request ICY metadata", OFFSET(icy), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D },
{"icy_metadata_headers", "return ICY metadata headers", OFFSET(icy_metadata_headers), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 },
{"icy_metadata_packet", "return current ICY metadata packet", OFFSET(icy_metadata_packet), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 },