diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-28 10:54:35 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-05-31 20:05:19 -0400 |
commit | 51ae8e26af8f5b26efb41edc0fe4812368d16ae9 (patch) | |
tree | ffb96bbd8e96710e6373c23fe536b72e92571515 /libavcodec/svq1.h | |
parent | c4033cd4eb921a9cc8deb513efc6d6a6ba3b2163 (diff) | |
download | ffmpeg-51ae8e26af8f5b26efb41edc0fe4812368d16ae9.tar.gz |
h264: limit allowed pred modes in ff_h264_check_intra_pred_mode() to 3
Higher modes are not allowed for 16x16/chroma, which is what this
function is used for. Otherwise this function would return 0 (vertical
prediction) for invalid higher modes, which could result in invalid
reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Diffstat (limited to 'libavcodec/svq1.h')
0 files changed, 0 insertions, 0 deletions