vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Aug  3 
18:24:17 2011 +0300| [e80f251e5bccdb29d5e213d8712c79f5953142f4] | committer: 
Rémi Denis-Courmont

block_BytestreamRelease: remove useless zeroing (before free)

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

 include/vlc_block_helper.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/vlc_block_helper.h b/include/vlc_block_helper.h
index d7b2763..1528b94 100644
--- a/include/vlc_block_helper.h
+++ b/include/vlc_block_helper.h
@@ -57,8 +57,6 @@ static inline void block_BytestreamRelease( 
block_bytestream_t *p_bytestream )
         p_bytestream->p_chain->pf_release( p_bytestream->p_chain );
         p_bytestream->p_chain = p_next;
     }
-    p_bytestream->i_offset = 0;
-    p_bytestream->p_chain = p_bytestream->p_block = NULL;
 }
 
 /**

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to