Commit dfd9fc1c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sharpen: remove antilogy

Input picture to a filter is never NULL. And even if it were NULL, the
pointer is dereferenced earlier...
parent 81a08166
......@@ -181,8 +181,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
const unsigned i_visible_pitch = p_pic->p[Y_PLANE].i_visible_pitch;
const int sigma = var_GetFloat( p_filter, FILTER_PREFIX "sigma" ) * (1 << 20);
if( !p_pic ) return NULL;
p_outpic = filter_NewPicture( p_filter );
if( !p_outpic )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment