if( p_filter->p_sys->p_image )
image_HandlerDelete( p_filter->p_sys->p_image );
+ p_filter->p_sys->p_image = NULL;
free( p_filter->p_sys );
}
int x,y;
uint8_t u,v;
- video_format_t fmt_out = {0};
picture_t *p_converted;
+ video_format_t fmt_out = {0};
+ fmt_out.p_palette = NULL;
if( !p_pic ) return NULL;
p_outpic->p[Y_PLANE].p_pixels, p_pic->p[Y_PLANE].p_pixels,
p_outpic->p[Y_PLANE].i_lines * p_outpic->p[Y_PLANE].i_pitch );
-
/* image visualization */
fmt_out = p_filter->fmt_out.video;
fmt_out.i_width = p_filter->fmt_out.video.i_width*p_filter->p_sys->scale/150;