OSDN Git Service

avcodec/h264: use subsample factors of the used pixel format
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Feb 2014 22:51:33 +0000 (23:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Feb 2014 22:53:49 +0000 (23:53 +0100)
commit8c55ff393340998faae887dfac19e7ef128e1e58
tree2320b5f106ebbfdad2fd8eb73b9201f245afd2cf
parent9aa59a9ce6aaf52f58965f378e5144ccace85097
avcodec/h264: use subsample factors of the used pixel format

Fixes out of array read
Fixes: 1cb91c36c4e55463f14aacb9bdf55b38-asan_heap-oob_106cbce_5617_cov_11212800_h264_mmx_chroma_intra_lf.mp4
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c