diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-02 15:06:02 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-02 15:21:05 +0200 |
commit | 2b550beb2299e30d5fc13596c619457c13b49d5f (patch) | |
tree | 44a973100301e528b0b5818eff7c226d11be2a56 /libavformat/ivfdec.c | |
parent | 25119a7f082ba2432df528f70348f5bd83aa8c07 (diff) | |
download | ffmpeg-2b550beb2299e30d5fc13596c619457c13b49d5f.tar.gz |
vf_lut: add plane validity check in draw_slice()
The value for inpic->data[plane] with plane >=4 is undefined, and it
will contain in general random data. This change adds a check for
exiting the loop when plane reaches the value 4.
Fix crash (occurring for example with: format=rgba,lut).
Diffstat (limited to 'libavformat/ivfdec.c')
0 files changed, 0 insertions, 0 deletions