diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-15 22:11:05 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 23:18:48 +0100 |
commit | 598016b85f29d793922c3289d50cab2393582443 (patch) | |
tree | 30891ad410a9cdd0e1fa333cb813b3cbd0f2313d /libavfilter/window_func.c | |
parent | a2c7840a6b69671adec490cac375f51e09a654b4 (diff) | |
download | ffmpeg-598016b85f29d793922c3289d50cab2393582443.tar.gz |
dds: limit 4 bpp handling to AV_PIX_FMT_PAL8
This fixes NULL pointer dereferencing for formats, where frame->data[1]
is not allocated.
The problem was introduced in commit
257fbc3af4cba08ac471dab68924182160bde6fd.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 90ebf3c428352eb1d4116bf97b470ceca295d7d6)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/window_func.c')
0 files changed, 0 insertions, 0 deletions