[vlc-commits] MPEG mux: do not hide bugs in debug builds!

Rémi Denis-Courmont git at videolan.org
Mon Sep 5 19:43:02 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Sep  5 20:37:25 2011 +0300| [32b1eabf3c4d65b7a6ec79a38bd07f50f4a2eec6] | committer: Rémi Denis-Courmont

MPEG mux: do not hide bugs in debug builds!

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

 modules/mux/mpeg/pes.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/mux/mpeg/pes.c b/modules/mux/mpeg/pes.c
index a366f57..5cbb2da 100644
--- a/modules/mux/mpeg/pes.c
+++ b/modules/mux/mpeg/pes.c
@@ -387,10 +387,6 @@ int  EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es,
 
     *pp_pes = p_pes = NULL;
 
-#ifndef NDEBUG
-    memset( header, 0, 50 );
-#endif
-
     do
     {
         i_pes_payload = __MIN( i_size, i_max_pes_size );



More information about the vlc-commits mailing list