diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-01 13:51:21 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-02 10:34:50 -0800 |
commit | 154b8bb80029e71d562e8936164266300dd35a0e (patch) | |
tree | 2e81e65a61ca7250f9728146c7dfb9bc7ee8649c /libavcodec/motion_est_template.c | |
parent | 291c9b62855d555ac5385e23219461b6080da7db (diff) | |
download | ffmpeg-154b8bb80029e71d562e8936164266300dd35a0e.tar.gz |
amrwb: error out early if mode is invalid.
Prevents using the invalid mode as an index in a static array, which
would generate invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/motion_est_template.c')
0 files changed, 0 insertions, 0 deletions