diff options
author | Mans Rullgard <mans@mansr.com> | 2012-05-01 18:27:19 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-05-01 20:17:07 +0100 |
commit | 4bf2e7c5f1c0ad3997fd7c9859c16db8e4e16df6 (patch) | |
tree | 72c3aa69ada9538a262e53dc0aa8985c7a84e69f /libavcodec/pcm-mpeg.c | |
parent | 4010d724e1d57858d56bff66fa245f2d5646be6e (diff) | |
download | ffmpeg-4bf2e7c5f1c0ad3997fd7c9859c16db8e4e16df6.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>
Diffstat (limited to 'libavcodec/pcm-mpeg.c')
0 files changed, 0 insertions, 0 deletions