diff options
author | Andreas Cadhalpun <[email protected]> | 2016-11-15 22:11:05 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-11-16 19:29:45 +0100 |
commit | 90ebf3c428352eb1d4116bf97b470ceca295d7d6 (patch) | |
tree | 363c6e53b5ccdf0054c56fb7213681de21073bfd /doc/examples/scaling_video.c | |
parent | 605f3084fc85ee47a13808665c9016c91d57ac28 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'doc/examples/scaling_video.c')
0 files changed, 0 insertions, 0 deletions