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:
Max Kellermann 2014-08-26 10:30:22 +02:00
parent 2d096a569a
commit 4a503ba1ad

View File

@ -1043,10 +1043,8 @@ MadDecoder::Read()
}
if (!skip && ret == DECODE_OK)
break;
return true;
}
return ret != DECODE_BREAK;
}
static void