Commit 3b4dc3e3 authored by Laurent Aimar's avatar Laurent Aimar

* sout: fix a stupid bug making avi muxer segfaulting.

parent 92db27a9
......@@ -2,7 +2,7 @@
* stream_output.c : stream output module
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: stream_output.c,v 1.20 2003/03/12 05:26:46 sam Exp $
* $Id: stream_output.c,v 1.21 2003/03/15 19:26:13 fenrir Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
......@@ -244,8 +244,8 @@ void sout_DeleteInstance( sout_instance_t * p_sout )
for( i = 0; i < p_sout->i_nb_mux; i++ )
{
#define p_mux p_sout->pp_mux[i]
sout_AccessOutDelete( p_mux->p_access );
MuxDelete( p_mux );
sout_AccessOutDelete( p_mux->p_access );
#undef p_mux
}
FREE( p_sout->pp_mux );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment