[vlc-commits] commit: Remove idempotent operation. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Oct 9 14:26:12 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Oct  9 14:11:30 2010 +0200| [85f86a934ae337e60c1f7cba5727b5b31fd06796] | committer: Rémi Duraffort 

Remove idempotent operation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85f86a934ae337e60c1f7cba5727b5b31fd06796
---

 modules/access/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 90b7d48..e155028 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -984,7 +984,7 @@ static ssize_t ReadCompressed( access_t *p_access, uint8_t *p_buffer,
 
         if( p_sys->inflate.stream.avail_in == 0 )
         {
-            ssize_t i_read = Read( p_access, p_sys->inflate.p_buffer + p_sys->inflate.stream.avail_in, 256 * 1024 );
+            ssize_t i_read = Read( p_access, p_sys->inflate.p_buffer, 256 * 1024 );
             if( i_read <= 0 ) return i_read;
             p_sys->inflate.stream.next_in = p_sys->inflate.p_buffer;
             p_sys->inflate.stream.avail_in = i_read;



More information about the vlc-commits mailing list