aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-31 18:57:33 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-01 21:11:47 +0100
commiteb49d259f42066f7f644231f35fd1128833c3d1c (patch)
tree39261b786933d8a48587aa8e84c29355e8e84c42 /libavcodec
parent8b1099c288ab162f4316a8c1ae269f216520f52d (diff)
downloadffmpeg-eb49d259f42066f7f644231f35fd1128833c3d1c.tar.gz
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>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/eatqi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c
index 1a847a35da..0002d45457 100644
--- a/libavcodec/eatqi.c
+++ b/libavcodec/eatqi.c
@@ -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;
}
}