aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch')
-rw-r--r--main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch b/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
new file mode 100644
index 0000000000..a7554458e3
--- /dev/null
+++ b/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
@@ -0,0 +1,20 @@
+--- ./src/ffaudio/ffaudio-core.c.orig
++++ ./src/ffaudio/ffaudio-core.c
+@@ -341,7 +341,7 @@
+ {
+ s = ic->streams[i];
+ c = s->codec;
+- if (c->codec_type == CODEC_TYPE_AUDIO)
++ if (c->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ av_find_stream_info(ic);
+ codec = avcodec_find_decoder(c->codec_id);
+@@ -415,7 +415,7 @@
+ {
+ s = ic->streams[i];
+ c = s->codec;
+- if (c->codec_type == CODEC_TYPE_AUDIO)
++ if (c->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ av_find_stream_info(ic);
+ codec = avcodec_find_decoder(c->codec_id);