[FFmpeg-cvslog] avcodec/eatqi: Return more specific error code from tqi_decode_mb()
Michael Niedermayer
git at videolan.org
Wed Jan 2 01:24:06 EET 2019
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Dec 31 18:57:33 2018 +0100| [eb49d259f42066f7f644231f35fd1128833c3d1c] | committer: Michael Niedermayer
avcodec/eatqi: Return more specific error code from tqi_decode_mb()
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb49d259f42066f7f644231f35fd1128833c3d1c
---
libavcodec/eatqi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
}
More information about the ffmpeg-cvslog
mailing list