Bug in transport stream PSI handling

Mark Gritter mgritter at kealia.com
Wed Aug 22 19:04:30 CEST 2001


There's a memory leak in input_DemuxPSI (in mpeg_system.c); it does not free
the transport stream packets it uses.

Below is a patch which seems to work, from the 0.2.81 release.

(I'm not subscribed to the vlc mailing list--- is there a more appropriate
place to send bug reports/patches?)

Mark

*** vlc-0.2.81/src/input/mpeg_system.c  Fri Jul 27 19:30:19 2001
--- vlc-fixes/src/input/mpeg_system.c   Wed Aug 22 10:01:57 2001
***************
*** 1283,1290 ****
--- 1283,1292 ----
      }
  #undef p_psi    
  #undef p
      
+     p_input->pf_delete_packet( p_input->p_method_data, p_data );
+ 
      return ;
  }
  
  /*****************************************************************************  

 
-- 
Mark Gritter
mgritter at kealia.com




More information about the vlc mailing list