mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
alsdec: minor simplification in read_block()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7dec8512be
commit
800637709c
@ -983,8 +983,7 @@ static int read_block(ALSDecContext *ctx, ALSBlockData *bd)
|
|||||||
if (get_bits1(gb)) {
|
if (get_bits1(gb)) {
|
||||||
ret = read_var_block_data(ctx, bd);
|
ret = read_var_block_data(ctx, bd);
|
||||||
} else {
|
} else {
|
||||||
if ((ret = read_const_block_data(ctx, bd)) < 0)
|
ret = read_const_block_data(ctx, bd);
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user