Commit 80063770 authored by Michael Niedermayer's avatar Michael Niedermayer

alsdec: minor simplification in read_block()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7dec8512
......@@ -983,8 +983,7 @@ static int read_block(ALSDecContext *ctx, ALSBlockData *bd)
if (get_bits1(gb)) {
ret = read_var_block_data(ctx, bd);
} else {
if ((ret = read_const_block_data(ctx, bd)) < 0)
return ret;
ret = read_const_block_data(ctx, bd);
}
return ret;
......
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