style_clean_up: Remove unnecessary parentheses

Change-Id: Ie3645319fa4d5a1fd254b4511a60ef6f6036afe5
This commit is contained in:
Vignesh Venkatasubramanian 2016-05-13 10:41:16 -07:00
parent a95aa4b294
commit 5d91edf9f1
2 changed files with 4 additions and 4 deletions

View File

@ -327,7 +327,7 @@ int main(int argc, char* argv[]) {
const mkvparser::Cluster* pCluster = pSegment->GetFirst();
while ((pCluster != NULL) && !pCluster->EOS()) {
while (pCluster != NULL && !pCluster->EOS()) {
const long long timeCode = pCluster->GetTimeCode();
printf("\t\tCluster Time Code\t: %lld\n", timeCode);
@ -345,7 +345,7 @@ int main(int argc, char* argv[]) {
return EXIT_FAILURE;
}
while ((pBlockEntry != NULL) && !pBlockEntry->EOS()) {
while (pBlockEntry != NULL && !pBlockEntry->EOS()) {
const mkvparser::Block* const pBlock = pBlockEntry->GetBlock();
const long long trackNum = pBlock->GetTrackNumber();
const unsigned long tn = static_cast<unsigned long>(trackNum);

View File

@ -544,7 +544,7 @@ int main(int argc, char* argv[]) {
const mkvparser::Cluster* cluster = parser_segment->GetFirst();
while ((cluster != NULL) && !cluster->EOS()) {
while (cluster != NULL && !cluster->EOS()) {
const mkvparser::BlockEntry* block_entry;
long status = cluster->GetFirst(block_entry);
@ -554,7 +554,7 @@ int main(int argc, char* argv[]) {
return EXIT_FAILURE;
}
while ((block_entry != NULL) && !block_entry->EOS()) {
while (block_entry != NULL && !block_entry->EOS()) {
const mkvparser::Block* const block = block_entry->GetBlock();
const long long trackNum = block->GetTrackNumber();
const mkvparser::Track* const parser_track =