Commit 0601cc20 authored by Thomas Guillem's avatar Thomas Guillem

video_filter: puzzle: no > 8bits support

Since memset is used to set back pixels.

(cherry picked from commit e7040600)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent f50ba590
......@@ -138,7 +138,7 @@ static int Open( vlc_object_t *p_this )
const vlc_chroma_description_t *p_chroma =
vlc_fourcc_GetChromaDescription( p_filter->fmt_in.video.i_chroma );
if( p_chroma == NULL || p_chroma->plane_count == 0 )
if( p_chroma == NULL || p_chroma->plane_count == 0 || p_chroma->pixel_size > 1 )
return VLC_EGENERIC;
/* Allocate structure */
......
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