mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-04 19:48:19 +00:00
reindent after last commit and remove unneeded empty line
Originally committed as revision 19885 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f53c9089f6
commit
ebd3e99de9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user