---
libavformat/http.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/http.c b/libavformat/http.c
index 84300b1..78d357c 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -52,8 +52,9 @@ typedef struct {
} HTTPContext;
#define OFFSET(x) offsetof(HTTPContext, x)
+#define E AV_OPT_FLAG_ENCODING_PARAM
static const AVOption options[] = {
-{"chunksize", "use chunked transfer-encoding for posts, -1 disables it, 0
enables it", OFFSET(chunksize), AV_OPT_TYPE_INT64, {.dbl = 0}, -1, 0 }, /*
Default to 0, for chunked POSTs */
+{"chunksize", "use chunked transfer-encoding for posts, -1 disables it, 0
enables it", OFFSET(chunksize), AV_OPT_TYPE_INT64, {.dbl = 0}, -1, 0, E }, /*
Default to 0, for chunked POSTs */
{NULL}
};
#define HTTP_CLASS(flavor)\
--
1.7.7
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel