-
Stefano Sabatini authored
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).
2b550beb