Commit 4a503ba1 authored by Max Kellermann's avatar Max Kellermann

decoder/mad: simplify "return", eliminate check

This check was redundant, because we could only exit the loop when ret==DECODE_OK.
parent 2d096a56
......@@ -1043,10 +1043,8 @@ MadDecoder::Read()
}
if (!skip && ret == DECODE_OK)
break;
return true;
}
return ret != DECODE_BREAK;
}
static void
......
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