Commit db5b5833 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Paul Saman

Fix resizing check : verify the width

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 150b8bba
...@@ -501,7 +501,7 @@ static picture_t *DecodeVideoBlockInner( decoder_t *p_dec, block_t **pp_block, i ...@@ -501,7 +501,7 @@ static picture_t *DecodeVideoBlockInner( decoder_t *p_dec, block_t **pp_block, i
Resize( p_dec, b_resize, &p_sys->rsz, &p_sys->fb, p_sys->out ); Resize( p_dec, b_resize, &p_sys->rsz, &p_sys->fb, p_sys->out );
if( !b_resize ) if( !b_resize || p_sys->fb.var_info.xres != p_sys->rsz.i_out_width )
{ {
uint32_t black = 0x88888888; /* for vout YUYV */ uint32_t black = 0x88888888; /* for vout YUYV */
......
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