Originally committed as revision 23534 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö 2010-06-08 11:58:22 +00:00
parent 971c3c98b0
commit e4f28e0890

View File

@ -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;
}