mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
lavf/img2dec: Also auto-detect (unusual) uncompressed pcx.
This commit is contained in:
parent
040b4e139b
commit
e1023aa1dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue