summaryrefslogtreecommitdiffstats
path: root/testing/libdlna/avmedia_type.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-22 08:03:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-22 10:32:40 +0000
commit3cbd465f269c0504654d700336ed5e0573acfa0c (patch)
tree55acd93fe9684cd8fe466411a367b924bf9ed972 /testing/libdlna/avmedia_type.patch
parent49ef3cc88b68b40376fb354dfab86dd655ed33cf (diff)
downloadaports-3cbd465f269c0504654d700336ed5e0573acfa0c.tar.bz2
aports-3cbd465f269c0504654d700336ed5e0573acfa0c.tar.xz
testing/libdlna: cleanup and rebuild against ffmpeg-0.9
Diffstat (limited to 'testing/libdlna/avmedia_type.patch')
-rw-r--r--testing/libdlna/avmedia_type.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/libdlna/avmedia_type.patch b/testing/libdlna/avmedia_type.patch
new file mode 100644
index 000000000..b4caa1892
--- /dev/null
+++ b/testing/libdlna/avmedia_type.patch
@@ -0,0 +1,18 @@
+--- ./src/profiles.c.orig
++++ ./src/profiles.c
+@@ -205,13 +205,13 @@
+ for (i = 0; i < ctx->nb_streams; i++)
+ {
+ if (audio_stream == -1 &&
+- ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ audio_stream = i;
+ continue;
+ }
+ else if (video_stream == -1 &&
+- ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
+ {
+ video_stream = i;
+ continue;