aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
blob: a7554458e355230fe0700651b765955e5015ee45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);