Commit 9bee423b authored by Antoine Cellerier's avatar Antoine Cellerier

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

parent 7588d6a1
......@@ -426,6 +426,7 @@ 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;
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
......
......@@ -240,6 +240,7 @@ 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;
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
......
......@@ -170,6 +170,7 @@ 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;
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
......
......@@ -246,6 +246,7 @@ 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;
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
......
......@@ -205,6 +205,7 @@ 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;
if( p_pic->pf_release )
p_pic->pf_release( p_pic );
return p_outpic;
......
......@@ -192,6 +192,7 @@ 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;
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