Revision 85770f2a libavformat/http.c

View differences:

libavformat/http.c
54 54

  
55 55
#define OFFSET(x) offsetof(HTTPContext, x)
56 56
static const AVOption options[] = {
57
{"chunksize", "use chunked transfer-encoding for posts, -1 disables it, 0 enables it", OFFSET(chunksize), FF_OPT_TYPE_INT64, 0, -1, 0 }, /* Default to 0, for chunked POSTs */
57
{"chunksize", "use chunked transfer-encoding for posts, -1 disables it, 0 enables it", OFFSET(chunksize), FF_OPT_TYPE_INT64, {.i64 = 0}, -1, 0 }, /* Default to 0, for chunked POSTs */
58 58
{NULL}
59 59
};
60 60
static const AVClass httpcontext_class = {

Also available in: Unified diff