Browse Source

cosmetics: iff: split very long line

Also while here sort chunk ids.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.0
Paul B Mahol 13 years ago
parent
commit
3933782735
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      libavformat/iff.c

+ 6
- 2
libavformat/iff.c View File

@@ -123,8 +123,12 @@ static int iff_probe(AVProbeData *p)
{
const uint8_t *d = p->buf;

if ( AV_RL32(d) == ID_FORM &&
(AV_RL32(d+8) == ID_8SVX || AV_RL32(d+8) == ID_PBM || AV_RL32(d+8) == ID_ACBM || AV_RL32(d+8) == ID_DEEP || AV_RL32(d+8) == ID_ILBM) )
if ( AV_RL32(d) == ID_FORM &&
(AV_RL32(d+8) == ID_8SVX ||
AV_RL32(d+8) == ID_PBM ||
AV_RL32(d+8) == ID_ACBM ||
AV_RL32(d+8) == ID_DEEP ||
AV_RL32(d+8) == ID_ILBM) )
return AVPROBE_SCORE_MAX;
return 0;
}


Loading…
Cancel
Save