/*****************************************************************************
* Preamble
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <vlc/vlc.h>
#include <vlc_codec.h>
}
msg_Dbg( p_dec, "file %s loaded successfully", psz_file );
- if ( psz_file ) free( psz_file );
+ free( psz_file );
if ( b_keep_ar )
{
p_handler = image_HandlerCreate( p_dec );
p_image = image_Filter( p_handler, p_old, &fmt_out, val.psz_string );
image_HandlerDelete( p_handler );
- if ( val.psz_string != NULL ) free( val.psz_string );
+ free( val.psz_string );
if ( p_image == NULL )
{
vlc_value_t oldval, vlc_value_t newval,
void *p_data )
{
+ VLC_UNUSED(p_this); VLC_UNUSED(oldval);
decoder_t *p_dec = (decoder_t *)p_data;
if( !strcmp( psz_var, "fake-file" ) )