X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fpacketizer%2Fcopy.c;h=c509c48ebe6d3f3326a560ff4b493151f2646f83;hb=f2cf7af4b4bc46b43b652971a289310aa88e9c92;hp=471447b6a220bf8c003642e4dbc7daedf179d4ce;hpb=85b29bdc288a1573d43bd524908be5748a9b3640;p=vlc diff --git a/modules/packetizer/copy.c b/modules/packetizer/copy.c index 471447b6a2..c509c48ebe 100644 --- a/modules/packetizer/copy.c +++ b/modules/packetizer/copy.c @@ -1,7 +1,7 @@ /***************************************************************************** * copy.c ***************************************************************************** - * Copyright (C) 2001, 2002 VideoLAN (Centrale Réseaux) and its contributors + * Copyright (C) 2001, 2002, 2006 the VideoLAN team * $Id$ * * Authors: Laurent Aimar @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** @@ -28,8 +28,8 @@ #include /* malloc(), free() */ #include -#include -#include +#include +#include /***************************************************************************** * Module descriptor @@ -243,6 +243,7 @@ static void Close( vlc_object_t *p_this ) block_ChainRelease( p_dec->p_sys->p_block ); } + es_format_Clean( &p_dec->fmt_out ); free( p_dec->p_sys ); }