*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* 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.
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
static sout_stream_id_t *Add ( sout_stream_t *, es_format_t * );
static int Del ( sout_stream_t *, sout_stream_id_t * );
static sout_stream_id_t *Add ( sout_stream_t *, es_format_t * );
static int Del ( sout_stream_t *, sout_stream_id_t * );
/*****************************************************************************
* Module descriptor
*****************************************************************************/
vlc_module_begin();
/*****************************************************************************
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_capability( "sout stream", 50 );
add_shortcut( "dummy" );
set_callbacks( Open, Close );
set_capability( "sout stream", 50 );
add_shortcut( "dummy" );
set_callbacks( Open, Close );
*****************************************************************************/
static int Open( vlc_object_t *p_this )
{
*****************************************************************************/
static int Open( vlc_object_t *p_this )
{
/*****************************************************************************
* Close:
*****************************************************************************/
/*****************************************************************************
* Close:
*****************************************************************************/
- sout_buffer_t *p_next;
-
- while( p_buffer )
- {
- p_next = p_buffer->p_next;
-
- sout_BufferDelete( p_stream->p_sout, p_buffer );
- p_buffer = p_next;
- }
-
+ (void)p_stream; (void)id;
+ block_ChainRelease( p_buffer );