Commit 24ee2714 authored by Laurent Aimar's avatar Laurent Aimar

Protect against broken subpicture size.

parent bf56c2bd
...@@ -1472,7 +1472,7 @@ static void SpuRenderRegion( spu_t *p_spu, ...@@ -1472,7 +1472,7 @@ static void SpuRenderRegion( spu_t *p_spu,
} }
/* Scale if needed into cache */ /* Scale if needed into cache */
if( !p_region->p_private ) if( !p_region->p_private && i_dst_width > 0 && i_dst_height > 0 )
{ {
filter_t *p_scale = p_sys->p_scale; filter_t *p_scale = p_sys->p_scale;
......
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