Commit c6988503 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Forward port of revision 12329 and cosmetic cleanup

parent bea07279
......@@ -338,11 +338,11 @@ static subpicture_region_t *create_picture_region( filter_t *p_filter, subpictur
p_filter->pf_sub_buffer_del( p_filter, p_spu );
return NULL;
}
if( !p_pic && fmt.i_chroma == VLC_FOURCC('Y','U','V','P') )
if( !p_pic && ( fmt.i_chroma == VLC_FOURCC('Y','U','V','P') ) )
{
p_region->fmt.p_palette->i_entries = 0;
fmt.i_width = fmt.i_visible_width = 0;
fmt.i_height = fmt.i_visible_height = 0;
p_region->fmt.i_width = p_region->fmt.i_visible_width = 0;
p_region->fmt.i_height = p_region->fmt.i_visible_height = 0;
}
if( p_pic != NULL )
vout_CopyPicture( p_filter, &p_region->picture, p_pic );
......
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