Originally committed as revision 19885 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -90,12 +90,11 @@ static int mpc8_probe(AVProbeData *p) |
| 90 | 90 |
if (bs + size - 2 >= bs_end) |
| 91 | 91 |
return AVPROBE_SCORE_MAX / 4 - 1; //seems to be valid MPC but no header yet |
| 92 | 92 |
if (header_found) {
|
| 93 |
- |
|
| 94 |
- if (size < 11 || size > 28) |
|
| 95 |
- return 0; |
|
| 96 |
- if (!AV_RL32(bs)) //zero CRC is invalid |
|
| 97 |
- return 0; |
|
| 98 |
- return AVPROBE_SCORE_MAX; |
|
| 93 |
+ if (size < 11 || size > 28) |
|
| 94 |
+ return 0; |
|
| 95 |
+ if (!AV_RL32(bs)) //zero CRC is invalid |
|
| 96 |
+ return 0; |
|
| 97 |
+ return AVPROBE_SCORE_MAX; |
|
| 99 | 98 |
} else {
|
| 100 | 99 |
bs += size - 2; |
| 101 | 100 |
} |