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