avcodec/wmalosslessdec: Pass on error code from decode_tilehdr()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7cd46acdd5
commit
03fff09b32
@ -1038,9 +1038,9 @@ static int decode_frame(WmallDecodeCtx *s)
|
||||
len = get_bits(gb, s->log2_frame_size);
|
||||
|
||||
/* decode tile information */
|
||||
if (decode_tilehdr(s)) {
|
||||
if ((ret = decode_tilehdr(s))) {
|
||||
s->packet_loss = 1;
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* read drc info */
|
||||
|
Loading…
x
Reference in New Issue
Block a user