h264: do not use 422 functions for monochrome
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerSean McGovern <gseanmcg@gmail.com>
Mon, 14 Apr 2014 20:55:38 +0000 (16:55 -0400)
commitb6a0f5cde808d84626f07b11c381cc6ef0954940
treecd4bfced1a8feeb82bc57c21e27f9c2e543ddb71
parent1147d39bca135df8673031d16989ba486a52172a
h264: do not use 422 functions for monochrome

Fixes invalid memory access.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavcodec/arm/h264dsp_init_arm.c
libavcodec/h264dsp.c
libavcodec/h264pred.c
libavcodec/ppc/h264_altivec.c
libavcodec/x86/h264_intrapred_init.c
libavcodec/x86/h264dsp_init.c