diff options
author | Mans Rullgard <mans@mansr.com> | 2012-05-01 18:27:19 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-01 07:51:18 -0700 |
commit | 50493f1f7d2235db811d2991b9e5b330baf7c05a (patch) | |
tree | 170c91d1af10d69c0b4c3b49edd07284a5852330 /doc/examples/decoding_encoding.c | |
parent | 3e60501f311c50bf234033f206c19d34d889df01 (diff) | |
download | ffmpeg-50493f1f7d2235db811d2991b9e5b330baf7c05a.tar.gz |
twinvq: fix out of bounds array access
ModeTab.fmode has only 3 elements, so indexing it with ftype
in the initialier for 'size' is invalid when ftype == FT_PPC.
This fixes crashes with gcc 4.8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4bf2e7c5f1c0ad3997fd7c9859c16db8e4e16df6)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions