diff options
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r-- | libavutil/sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c index 9963043..748bb9c 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -305,7 +305,7 @@ av_cold int av_sha_init(AVSHA *ctx, int bits) ctx->transform = sha256_transform; break; default: - return -1; + return AVERROR(EINVAL); } ctx->count = 0; return 0; |