alsdec: minor simplification in read_block()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/head
Michael Niedermayer 12 years ago
parent 7dec8512be
commit 800637709c
  1. 3
      libavcodec/alsdec.c

@ -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;

Loading…
Cancel
Save