diff options
Diffstat (limited to 'testing/libdlna/avmedia_type.patch')
-rw-r--r-- | testing/libdlna/avmedia_type.patch | 18 |
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 0000000000..b4caa1892e --- /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; |