summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-03-30 14:44:52 -0700
committerJohn Stebbins <[email protected]>2016-03-30 14:46:17 -0700
commit804ca4c61b6115730d0a55c92629e2fd54032eed (patch)
tree9bb1648f0de3133d9d72c0bf044c142730115502 /libhb/common.c
parent17afb1a15761cee42411f7f9140a10920aa25bb4 (diff)
x265: use more permissive x265_api_query instead of x265_api_get
This allows use of versions of the library that are compatible, but do not necessarily have the same build number.
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 3cb804ce7..8ad4f9e6a 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -262,7 +262,7 @@ static int hb_video_encoder_is_enabled(int encoder)
case HB_VCODEC_X265_16BIT:
{
const x265_api *api;
- api = x265_api_get(hb_video_encoder_get_depth(encoder));
+ api = x265_api_query(hb_video_encoder_get_depth(encoder), X265_BUILD, NULL);
return (api != NULL);
};
#endif