Commit e1023aa1 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/img2dec: Also auto-detect (unusual) uncompressed pcx.

parent 040b4e13
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment