summaryrefslogtreecommitdiffstats
path: root/unmaintained/deadbeef/ffmpeg-avmedia_type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/deadbeef/ffmpeg-avmedia_type.patch')
-rw-r--r--unmaintained/deadbeef/ffmpeg-avmedia_type.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/unmaintained/deadbeef/ffmpeg-avmedia_type.patch b/unmaintained/deadbeef/ffmpeg-avmedia_type.patch
deleted file mode 100644
index 111df4efc..000000000
--- a/unmaintained/deadbeef/ffmpeg-avmedia_type.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
-index cd7edf4..36b6d4b 100644
---- a/plugins/ffmpeg/ffmpeg.c
-+++ b/plugins/ffmpeg/ffmpeg.c
-@@ -140,7 +140,7 @@ ffmpeg_init (DB_fileinfo_t *_info, DB_playItem_t *it) {
- 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 == AVMEDIA_TYPE_AUDIO)
- {
- info->codec = avcodec_find_decoder (info->ctx->codec_id);
- if (info->codec != NULL) {
-@@ -490,7 +490,7 @@ ffmpeg_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) {
- for (i = 0; i < fctx->nb_streams; i++)
- {
- ctx = fctx->streams[i]->codec;
-- if (ctx->codec_type == CODEC_TYPE_AUDIO)
-+ if (ctx->codec_type == AVMEDIA_TYPE_AUDIO)
- {
- codec = avcodec_find_decoder(ctx->codec_id);
- if (codec != NULL && !strcasecmp (codec->name, "alac")) { // only open alac streams
-@@ -745,7 +745,7 @@ ffmpeg_read_metadata (DB_playItem_t *it) {
- for (i = 0; i < fctx->nb_streams; i++)
- {
- ctx = fctx->streams[i]->codec;
-- if (ctx->codec_type == CODEC_TYPE_AUDIO)
-+ if (ctx->codec_type == AVMEDIA_TYPE_AUDIO)
- {
- codec = avcodec_find_decoder(ctx->codec_id);
- if (codec != NULL)