Commit 9bee423b authored by dionoea's avatar dionoea
Browse files

check that p_pic->pf_release != NULL before calling it

parent 7588d6a1
......@@ -426,7 +426,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
}
......@@ -240,7 +240,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
}
......
......@@ -170,7 +170,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
}
......@@ -246,7 +246,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
}
......@@ -205,7 +205,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
}
......@@ -192,7 +192,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
p_outpic->b_progressive = p_pic->b_progressive;
p_outpic->b_top_field_first = p_pic->b_top_field_first;
p_pic->pf_release( p_pic );
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return 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