Source
--- src/AVHandler.cc.orig 2018-04-23 15:45:39.000000000 -0700
+++ src/AVHandler.cc 2018-04-23 15:47:42.000000000 -0700
codec_name = codec->name;
// We can handle truncated bitstreams
- if (codec->capabilities & CODEC_CAP_TRUNCATED)
- vstream->codec->flags |= CODEC_FLAG_TRUNCATED;
+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
+ vstream->codec->flags |= AV_CODEC_FLAG_TRUNCATED;
if (avcodec_open2(vstream->codec, codec, NULL) < 0)
{