mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
Merge commit 'ac467d94fa6d9d626f77d4ca8125a5eb1ad5425d'
* commit 'ac467d94fa6d9d626f77d4ca8125a5eb1ad5425d': lcl: return an appropriate error code Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
445ec2dfcb
@ -165,7 +165,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
zret = deflateInit(&c->zstream, c->compression);
|
zret = deflateInit(&c->zstream, c->compression);
|
||||||
if (zret != Z_OK) {
|
if (zret != Z_OK) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Deflate init error: %d\n", zret);
|
av_log(avctx, AV_LOG_ERROR, "Deflate init error: %d\n", zret);
|
||||||
return 1;
|
return AVERROR_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user