1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-02 09:19:58 +02:00

avcodec/wmalosslessdec: Pass on error code from decode_tilehdr()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-01-11 01:58:36 +01:00
parent 7cd46acdd5
commit 03fff09b32

View File

@ -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 */