[FFmpeg-devel] [PATCH] http Transfer-Encoding chunked
Michael Niedermayer
michaelni
Sat Jun 6 19:07:57 CEST 2009
On Sat, Jun 06, 2009 at 06:24:38PM +0200, Peter Holik wrote:
> > On Mon, Jun 01, 2009 at 07:46:25PM +0200, Peter Holik wrote:
> >> > On Mon, Jun 01, 2009 at 01:21:07PM +0200, Peter Holik wrote:
> >> >> > On Mon, Jun 01, 2009 at 12:20:03PM +0200, Peter Holik wrote:
> >> >> >> > On Wed, May 27, 2009 at 08:54:37AM +0200, Peter Holik wrote:
[...]
> here now the new patches
[...]
> http.c | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)
> 2c22e07c2d36fb8368ea272c57ae9cfbb2e823e9 03-cosmetics-printf-to-dprintf.patch
ok
[...]
> @@ -296,6 +301,28 @@ static int http_read(URLContext *h, uint8_t *buf, int size)
> HTTPContext *s = h->priv_data;
> int len;
>
> + if (s->chunksize >= 0) {
> + if (!s->chunksize) {
> + char line[32];
> +
> + for(;;) {
> + if (http_get_line(s, line, sizeof(line)) < 0)
> + return AVERROR(EIO);
> +
> + /* skip CR LF from last chunk */
> + if (!(*line)) continue;
do{
...
}while(!*line)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
GMX, the mailprovider that uses RBL lists to reject mails from your friends
running their own mailserver at home. The mailprovider that obscures the
origin of mails (mis)identified as viruses. The mailprovider that improves
security my disallowing more secure forms of authentication.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090606/24732dd8/attachment.pgp>
More information about the ffmpeg-devel
mailing list