summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/mpc8.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index 472d17cc5d..51817f1439 100644
--- a/libavformat/mpc8.c
+++ b/libavformat/mpc8.c
@@ -90,12 +90,11 @@ static int mpc8_probe(AVProbeData *p)
if (bs + size - 2 >= bs_end)
return AVPROBE_SCORE_MAX / 4 - 1; //seems to be valid MPC but no header yet
if (header_found) {
-
- if (size < 11 || size > 28)
- return 0;
- if (!AV_RL32(bs)) //zero CRC is invalid
- return 0;
- return AVPROBE_SCORE_MAX;
+ if (size < 11 || size > 28)
+ return 0;
+ if (!AV_RL32(bs)) //zero CRC is invalid
+ return 0;
+ return AVPROBE_SCORE_MAX;
} else {
bs += size - 2;
}