Commit 6a630a52 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Merge [PATCH] http chunked encoding fix

parent c1e42b89
...@@ -61,6 +61,7 @@ Eurodata Computer Club <retron.info> - VLC icon design (v0.8.4) ...@@ -61,6 +61,7 @@ Eurodata Computer Club <retron.info> - VLC icon design (v0.8.4)
François Seingier <francois.seingier at club-internet.fr> - TTL setting in the wx stream output dialog François Seingier <francois.seingier at club-internet.fr> - TTL setting in the wx stream output dialog
Frank Chao <frank0624 at gmail.com> - Chinese Traditional translation Frank Chao <frank0624 at gmail.com> - Chinese Traditional translation
Fumio Nakayama <endymion at ca2.so-net.ne.jp> - Japanese translation Fumio Nakayama <endymion at ca2.so-net.ne.jp> - Japanese translation
Georgi Chorbadzhiyski <gf at unixsol dot org> - HTTP access error handling fix
Greg Farrell <greg at gregfarell dot org> - rc interface "enqueue" command Greg Farrell <greg at gregfarell dot org> - rc interface "enqueue" command
Gregory Hazel <ghazel at gmail dot com> - wxWidgets fixes and improvements Gregory Hazel <ghazel at gmail dot com> - wxWidgets fixes and improvements
Goetz Waschk <waschk at informatik.uni-rostock dot de> - Mandrake packages Goetz Waschk <waschk at informatik.uni-rostock dot de> - Mandrake packages
......
...@@ -487,8 +487,9 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len ) ...@@ -487,8 +487,9 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
/* read the chunk header */ /* read the chunk header */
if( psz == NULL ) if( psz == NULL )
{ {
/* fatal error - end of file */
msg_Dbg( p_access, "failed reading chunk-header line" ); msg_Dbg( p_access, "failed reading chunk-header line" );
return -1; return 0;
} }
p_sys->i_chunk = strtoll( psz, NULL, 16 ); p_sys->i_chunk = strtoll( psz, NULL, 16 );
free( psz ); free( psz );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment