mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavf/img2dec: Also auto-detect (unusual) uncompressed pcx.
This commit is contained in:
parent
040b4e139b
commit
e1023aa1dd
@ -773,7 +773,7 @@ static int pcx_probe(AVProbeData *p)
|
||||
if ( p->buf_size < 128
|
||||
|| b[0] != 10
|
||||
|| b[1] > 5
|
||||
|| b[2] != 1
|
||||
|| b[2] > 1
|
||||
|| av_popcount(b[3]) != 1 || b[3] > 8
|
||||
|| AV_RL16(&b[4]) > AV_RL16(&b[8])
|
||||
|| AV_RL16(&b[6]) > AV_RL16(&b[10])
|
||||
|
Loading…
Reference in New Issue
Block a user