Commit fb74afaa authored by Rémi Duraffort's avatar Rémi Duraffort

decoder: fix warning

parent 8eb5947d
......@@ -2347,7 +2347,7 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
if( vlc_fourcc_IsYUV( fmt.i_chroma ) )
{
vlc_chroma_description_t *dsc = vlc_fourcc_GetChromaDescription( fmt.i_chroma );
const vlc_chroma_description_t *dsc = vlc_fourcc_GetChromaDescription( fmt.i_chroma );
for( int i = 0; dsc && i < dsc->plane_count; i++ )
{
while( fmt.i_width % dsc->p[i].w.den )
......
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