summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-23 21:15:23 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-23 21:46:28 +0000
commit393378273542b905083863a9f2291cc6a386d24d (patch)
treebe42e7906933df71393a5187227d276c36c6d382 /libavformat
parentd147aedb6b2160477a19cc46bb7cda9d425d3e47 (diff)
downloadffmpeg-streaming-393378273542b905083863a9f2291cc6a386d24d.zip
ffmpeg-streaming-393378273542b905083863a9f2291cc6a386d24d.tar.gz
cosmetics: iff: split very long line
Also while here sort chunk ids. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/iff.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index cd3d5be..ab87304 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -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;
}
OpenPOWER on IntegriCloud