Originally committed as revision 23534 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Martin Storsjö 15 years ago
parent 971c3c98b0
commit e4f28e0890
  1. 2
      libavformat/http.c

@ -440,7 +440,7 @@ static int http_write(URLContext *h, const uint8_t *buf, int size)
if (size > 0) {
/* upload data using chunked encoding */
if(s->is_chunked) {
snprintf(temp, sizeof(temp), "%x\r\n", size);
snprintf(temp, sizeof(temp), "%x\r\n", size);
if ((ret = url_write(s->hd, temp, strlen(temp))) < 0)
return ret;
}

Loading…
Cancel
Save