[vlc-devel] commit: No need to set i_buffer twice ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Aug 26 19:13:23 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Aug 26 20:14:45 2008 +0300| [0889e424f6be420138a712a7e131fa6220ca8335] | committer: Rémi Denis-Courmont 

No need to set i_buffer twice

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

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

diff --git a/modules/access/udp.c b/modules/access/udp.c
index 5a46d2a..0e37351 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -253,5 +253,5 @@ static block_t *BlockUDP( access_t *p_access )
         return NULL;
     }
 
-    return block_Realloc( p_block, 0, p_block->i_buffer = len );
+    return block_Realloc( p_block, 0, len );
 }




More information about the vlc-devel mailing list