avfilter/vidstab: check bytesPerPixel only for packed formats.
authorGyan Doshi <gyandoshi@gmail.com>
Sat, 23 Dec 2017 10:44:25 +0000 (16:14 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jan 2018 19:02:14 +0000 (20:02 +0100)
commite1e89c0695b430ca1f0f869ac8a2b6b46be9e2fa
tree48f26a5b645e2d960ae1317f0a572981a3fa4207
parent383804edd812410219a097e2bf3efac8a8b4562a
avfilter/vidstab: check bytesPerPixel only for packed formats.

libvidstab introduced this variable only for packed formats but in
vf_vidstab*.c, it's checked for all inputs. So the filter errors out for YUV422/444P streams.

Fixes #6736.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_vidstabdetect.c
libavfilter/vf_vidstabtransform.c