diff options
author | Reinhard Tartler <siretart@tauware.de> | 2012-03-18 19:08:15 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:30 +0200 |
commit | fd53da21a1707225ba9b69f3452725b175e2d8b8 (patch) | |
tree | d5c28d417d1ce80c52106c8e04f35fec11e0efd8 /libavcodec | |
parent | a0b65938b7cf37680a4ce0667444a217a151c551 (diff) | |
download | ffmpeg-fd53da21a1707225ba9b69f3452725b175e2d8b8.tar.gz |
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 <siretart@tauware.de>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/lcldec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 8f203eb740..be5189a93b 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 |