decoder/mad: simplify "return", eliminate check
This check was redundant, because we could only exit the loop when ret==DECODE_OK.
This commit is contained in:
parent
2d096a569a
commit
4a503ba1ad
@ -1043,10 +1043,8 @@ MadDecoder::Read()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!skip && ret == DECODE_OK)
|
if (!skip && ret == DECODE_OK)
|
||||||
break;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret != DECODE_BREAK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user