summaryrefslogtreecommitdiff
path: root/community-testing/deadbeef/ffmpeg.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /community-testing/deadbeef/ffmpeg.patch
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'community-testing/deadbeef/ffmpeg.patch')
-rw-r--r--community-testing/deadbeef/ffmpeg.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-testing/deadbeef/ffmpeg.patch b/community-testing/deadbeef/ffmpeg.patch
deleted file mode 100644
index 925b84408..000000000
--- a/community-testing/deadbeef/ffmpeg.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -aur deadbeef-0.5.1/plugins/ffmpeg/ffmpeg.c deadbeef-0.5.1.new/plugins/ffmpeg/ffmpeg.c
---- deadbeef-0.5.1/plugins/ffmpeg/ffmpeg.c 2011-05-22 13:58:53.000000000 +0000
-+++ deadbeef-0.5.1.new/plugins/ffmpeg/ffmpeg.c 2011-11-01 10:38:11.447669741 +0000
-@@ -140,7 +140,12 @@
- for (i = 0; i < info->fctx->nb_streams; i++)
- {
- info->ctx = info->fctx->streams[i]->codec;
-- if (info->ctx->codec_type == CODEC_TYPE_AUDIO)
-+ if (info->ctx->codec_type ==
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0)
-+ AVMEDIA_TYPE_AUDIO)
-+#else
-+ CODEC_TYPE_AUDIO)
-+#endif
- {
- info->codec = avcodec_find_decoder (info->ctx->codec_id);
- if (info->codec != NULL) {
-@@ -490,7 +495,12 @@
- for (i = 0; i < fctx->nb_streams; i++)
- {
- ctx = fctx->streams[i]->codec;
-- if (ctx->codec_type == CODEC_TYPE_AUDIO)
-+ if (ctx->codec_type ==
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0)
-+ AVMEDIA_TYPE_AUDIO)
-+#else
-+ CODEC_TYPE_AUDIO)
-+#endif
- {
- codec = avcodec_find_decoder(ctx->codec_id);
- if (codec != NULL && !strcasecmp (codec->name, "alac")) { // only open alac streams
-@@ -745,7 +755,12 @@
- for (i = 0; i < fctx->nb_streams; i++)
- {
- ctx = fctx->streams[i]->codec;
-- if (ctx->codec_type == CODEC_TYPE_AUDIO)
-+ if (ctx->codec_type ==
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0)
-+ AVMEDIA_TYPE_AUDIO)
-+#else
-+ CODEC_TYPE_AUDIO)
-+#endif
- {
- codec = avcodec_find_decoder(ctx->codec_id);
- if (codec != NULL)