copy: assert copy_pitch is not null
commit97ae109a79055c2d08c3a63803cff6a998541218
authorAlexandre Janniaux <ajanni@videolabs.io>
Tue, 26 Nov 2019 09:56:41 +0000 (26 10:56 +0100)
committerThomas Guillem <thomas@gllm.fr>
Tue, 26 Nov 2019 10:01:09 +0000 (26 11:01 +0100)
treee82894810502b3339baa7bfd0f570dad452c0e58
parentb7e67d90fc22cef91d162ebd9e19ce7dbfd5296d
copy: assert copy_pitch is not null

copy_pitch = 0 is a developer error which leads to a bad configuration
of the filter and a division by zero. It can come from a badly
configured video format conversion.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/video_chroma/copy.c