Browse Source

avcodec/eatqi: Return more specific error code from tqi_decode_mb()

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.2
Michael Niedermayer 6 years ago
parent
commit
eb49d259f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/eatqi.c

+ 1
- 1
libavcodec/eatqi.c View File

@@ -83,7 +83,7 @@ static int tqi_decode_mb(TqiContext *t, int16_t (*block)[64])
if (ret < 0) {
av_log(t->avctx, AV_LOG_ERROR, "ac-tex damaged at %d %d\n",
t->mb_x, t->mb_y);
return -1;
return ret;
}
}



Loading…
Cancel
Save