# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_vout.h>
/*****************************************************************************
#define LT_DATA N_( "Data for the locking and unlocking functions" )
vlc_module_begin( );
- set_description( _( "Video memory module" ) );
- set_shortname( _("Video memory") );
+ set_description( N_( "Video memory module" ) );
+ set_shortname( N_("Video memory") );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VOUT );
if( strlen( psz_chroma ) < 4 )
{
msg_Err( p_vout, "vmem-chroma should be 4 characters long" );
+ free( psz_chroma );
return VLC_EGENERIC;
}
i_chroma = VLC_FOURCC( psz_chroma[0], psz_chroma[1],