From 532f067cca2113ea289282ea57e594efab5ba2a0 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 6 Jul 2017 09:15:21 -0700 Subject: fix use of deprecated libav defines Fixes https://github.com/HandBrake/HandBrake/issues/815 --- libhb/hb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/hb.c') diff --git a/libhb/hb.c b/libhb/hb.c index 3df3ec3ac..77cf6b2bf 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -130,7 +130,7 @@ int hb_avcodec_open(AVCodecContext *avctx, AVCodec *codec, avctx->thread_count = 1; } - if (codec->capabilities & CODEC_CAP_EXPERIMENTAL) + if (codec->capabilities & AV_CODEC_CAP_EXPERIMENTAL) { // "experimental" encoders will not open without this avctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; -- cgit v1.2.3