You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
730 B
21 lines
730 B
Index: libdlna-0.2.3/src/profiles.c
|
|
===================================================================
|
|
--- libdlna-0.2.3.orig/src/profiles.c
|
|
+++ libdlna-0.2.3/src/profiles.c
|
|
@@ -205,13 +205,13 @@ av_profile_get_codecs (AVFormatContext *
|
|
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;
|