Origin: backport, https://github.com/cmus/cmus/pull/793
Bug-Debian: https://bugs.debian.org/888384
Bug-Debian: https://bugs.debian.org/888384
Gbp-Pq: Name 12-ffmpeg-4.0.patch
break;
}
- if (codec->capabilities & CODEC_CAP_TRUNCATED)
- cc->flags |= CODEC_FLAG_TRUNCATED;
+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
+ cc->flags |= AV_CODEC_FLAG_TRUNCATED;
#if (LIBAVCODEC_VERSION_INT < ((53<<16)+(8<<8)+0))
if (avcodec_open(cc, codec) < 0) {