Revision 45c611a9 libavformat/http.c

View differences:

libavformat/http.c
152 152
    }
153 153
    h->priv_data = s;
154 154
    s->filesize = -1;
155
    s->chunksize = -1;
156 155
    s->is_chunked = 1;
157 156
    s->off = 0;
158 157
    s->init = 0;
......
331 330
    s->line_count = 0;
332 331
    s->off = 0;
333 332
    s->filesize = -1;
333
    s->chunksize = -1;
334 334
    if (post) {
335 335
        /* always use chunked encoding for upload data */
336 336
        s->chunksize = 0;

Also available in: Unified diff