Commit 11aaa50f authored by Gildas Bazin's avatar Gildas Bazin

* src/video_output/vout_subpictures.c: oops, don't forget to test for p_region.

parent 290fc84f
......@@ -498,7 +498,7 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
}
/* Take care of the aspect ratio */
if( p_region->fmt.i_sar_num * p_fmt->i_sar_den !=
if( p_region && p_region->fmt.i_sar_num * p_fmt->i_sar_den !=
p_region->fmt.i_sar_den * p_fmt->i_sar_num )
{
i_scale_width = i_scale_width *
......
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