Module: libav Branch: release/0.7 Commit: fd53da21a1707225ba9b69f3452725b175e2d8b8
Author: Reinhard Tartler <[email protected]> Committer: Reinhard Tartler <[email protected]> Date: Sun Mar 18 19:08:15 2012 +0100 lcl: use AVERROR_INVALIDDATA instead of AVERROR_UNKNOWN While bogus, this change avoids the necessity to backport AVERROR_UNKNOWN, which is not entirely trivial. Signed-off-by: Reinhard Tartler <[email protected]> --- libavcodec/lcldec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 8f203eb..be5189a 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -601,7 +601,7 @@ static av_cold int decode_init(AVCodecContext *avctx) if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); av_freep(&c->decomp_buf); - return AVERROR_UNKNOWN; + return AVERROR_INVALIDDATA; } } #endif _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
