Commit ebd3e99d authored by Kostya Shishkov's avatar Kostya Shishkov

reindent after last commit and remove unneeded empty line

Originally committed as revision 19885 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f53c9089
...@@ -90,12 +90,11 @@ static int mpc8_probe(AVProbeData *p) ...@@ -90,12 +90,11 @@ static int mpc8_probe(AVProbeData *p)
if (bs + size - 2 >= bs_end) if (bs + size - 2 >= bs_end)
return AVPROBE_SCORE_MAX / 4 - 1; //seems to be valid MPC but no header yet return AVPROBE_SCORE_MAX / 4 - 1; //seems to be valid MPC but no header yet
if (header_found) { if (header_found) {
if (size < 11 || size > 28)
if (size < 11 || size > 28) return 0;
return 0; if (!AV_RL32(bs)) //zero CRC is invalid
if (!AV_RL32(bs)) //zero CRC is invalid return 0;
return 0; return AVPROBE_SCORE_MAX;
return AVPROBE_SCORE_MAX;
} else { } else {
bs += size - 2; bs += size - 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment