diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index d51a98ca41..d37fa1554c 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -139,7 +139,7 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx) if (!ctx->encoder) { av_log(avctx, AV_LOG_ERROR, "Cannot open libx265 encoder.\n"); libx265_encode_close(avctx); - return AVERROR_EXTERNAL; + return AVERROR_INVALIDDATA; } ret = x265_encoder_headers(ctx->encoder, &nal, &nnal); diff --git a/libavcodec/version.h b/libavcodec/version.h index 20607937a1..f805a64bf2 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -30,7 +30,7 @@ #define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MINOR 52 -#define LIBAVCODEC_VERSION_MICRO 100 +#define LIBAVCODEC_VERSION_MICRO 101 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \