Revision e4f28e08 libavformat/http.c

View differences:

libavformat/http.c
440 440
    if (size > 0) {
441 441
        /* upload data using chunked encoding */
442 442
        if(s->is_chunked) {
443
        snprintf(temp, sizeof(temp), "%x\r\n", size);
443
            snprintf(temp, sizeof(temp), "%x\r\n", size);
444 444
            if ((ret = url_write(s->hd, temp, strlen(temp))) < 0)
445 445
                return ret;
446 446
        }

Also available in: Unified diff