/*****************************************************************************
* image.c : image video output
*****************************************************************************
- * Copyright (C) 2004 VideoLAN
+ * Copyright (C) 2004 the VideoLAN team
* $Id: snapshot.c 8644 2004-09-05 16:53:04Z fkuehne $
*
* Authors: Clément Stenac <zorglub@videolan.org>
"will have the form prefixNUMBER.format" )
static char *psz_format_list[] = { "png" };
-static char *psz_format_list_text[] = { N_("PNG") };
+static char *psz_format_list_text[] = { "PNG" };
vlc_module_begin( );
set_shortname( _( "Image file" ) );
*****************************************************************************/
static void Destroy( vlc_object_t *p_this )
{
+ int i_index;
vout_thread_t *p_vout = ( vout_thread_t * )p_this;
+ for( i_index = I_OUTPUTPICTURES-1; i_index >= 0; i_index-- )
+ {
+ free( PP_OUTPUTPICTURE[ i_index ]->p_data );
+ }
+
/* Destroy structure */
image_HandlerDelete( p_vout->p_sys->p_image );
FREE( p_vout->p_sys->psz_prefix );