diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-11-03 22:20:09 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-11-18 23:18:21 +0800 |
commit | 36a8d1e729dcad6877791e1aa35c6deeab538555 (patch) | |
tree | ad1a8dc007fea5d549f2775e66140c1590bb48fc /libavcodec/libx265.c | |
parent | 00409d81d9a4174023a7edadfb51b19606ec1d27 (diff) | |
download | ffmpeg-36a8d1e729dcad6877791e1aa35c6deeab538555.tar.gz |
avcodec/libx265: fix build error
x265_sei is available since X265_BUILD 88. Bump required version
to 89 to fix the regression from commit 1f585030137, and remove a
conditional compilation.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavcodec/libx265.c')
-rw-r--r-- | libavcodec/libx265.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 948a5aafdf..e87dea604d 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -295,7 +295,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx) return ret; } -#if X265_BUILD >= 89 if (avctx->qmin >= 0) { ret = libx265_param_parse_int(avctx, "qpmin", avctx->qmin); if (ret < 0) @@ -306,7 +305,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx) if (ret < 0) return ret; } -#endif if (avctx->max_qdiff >= 0) { ret = libx265_param_parse_int(avctx, "qpstep", avctx->max_qdiff); if (ret < 0) |