summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-07-06 09:15:21 -0700
committerJohn Stebbins <[email protected]>2017-07-06 09:15:21 -0700
commit532f067cca2113ea289282ea57e594efab5ba2a0 (patch)
tree3b47e5af51173d4d1832d40b1be7f097cce5715c /libhb/hb.c
parentc576eb99926c0cb2bc60a45be744ca21b06eb77e (diff)
fix use of deprecated libav defines
Fixes https://github.com/HandBrake/HandBrake/issues/815
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c2
1 files changed, 1 insertions, 1 deletions
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;