aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus/files/patch-ip_ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cmus/files/patch-ip_ffmpeg.c')
-rw-r--r--audio/cmus/files/patch-ip_ffmpeg.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/audio/cmus/files/patch-ip_ffmpeg.c b/audio/cmus/files/patch-ip_ffmpeg.c
deleted file mode 100644
index 1d284089d5be..000000000000
--- a/audio/cmus/files/patch-ip_ffmpeg.c
+++ /dev/null
@@ -1,15 +0,0 @@
-https://github.com/cmus/cmus/commit/b595b8cd7fee
-
---- ip/ffmpeg.c.orig 2016-11-20 12:29:46 UTC
-+++ ip/ffmpeg.c
-@@ -252,8 +252,8 @@ static int ffmpeg_open(struct input_plugin_data *ip_da
- 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) {