diff options
-rw-r--r-- | libavcodec/flashsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 4240091d92..054d024235 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -126,7 +126,7 @@ static av_cold int flashsv_decode_init(AVCodecContext *avctx) zret = inflateInit(&s->zstream); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); - return 1; + return AVERROR_EXTERNAL; } avctx->pix_fmt = AV_PIX_FMT_BGR24; |