This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit af87d77514e1435fb79e2c6e48f3e8f744d0c719 Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Apr 8 11:39:55 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sat May 2 21:13:01 2026 +0000 avcodec/tdsc: Prettier uncompress() check Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/tdsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c index e7b00f6c98..104a45285d 100644 --- a/libavcodec/tdsc.c +++ b/libavcodec/tdsc.c @@ -546,7 +546,7 @@ static int tdsc_decode_frame(AVCodecContext *avctx, AVFrame *frame, /* Frames are deflated, need to inflate them first */ ret = uncompress(ctx->deflatebuffer, &dlen, avpkt->data, avpkt->size); - if (ret) { + if (ret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Deflate error %d.\n", ret); return AVERROR_UNKNOWN; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
