cosmetics: iff: split very long line

Also while here sort chunk ids.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/28/head
Paul B Mahol 12 years ago
parent d147aedb6b
commit 3933782735
  1. 8
      libavformat/iff.c

@ -123,8 +123,12 @@ static int iff_probe(AVProbeData *p)
{ {
const uint8_t *d = p->buf; const uint8_t *d = p->buf;
if ( AV_RL32(d) == ID_FORM && 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) ) (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 AVPROBE_SCORE_MAX;
return 0; return 0;
} }

Loading…
Cancel
Save