diff options
author | Bartłomiej Piotrowski | 2018-01-07 13:18:17 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-07 13:18:17 +0100 |
commit | bcf5d0ea44af0663d87dc27bf2f2ff05871624b5 (patch) | |
tree | 29efa2d224739f02c3aba7ce14bc4ea92b7f3d32 /libdlna-avformat.patch | |
download | aur-libdlna.tar.gz |
Import from official repositories
Diffstat (limited to 'libdlna-avformat.patch')
-rw-r--r-- | libdlna-avformat.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libdlna-avformat.patch b/libdlna-avformat.patch new file mode 100644 index 000000000000..0434339b8502 --- /dev/null +++ b/libdlna-avformat.patch @@ -0,0 +1,22 @@ +diff --git a/src/profiles.c b/src/profiles.c +index 4622c56..ab40ef4 100644 +--- a/src/profiles.c ++++ b/src/profiles.c +@@ -287,7 +287,7 @@ dlna_guess_media_profile (dlna_t *dlna, const char *filename) + return NULL; + } + +- if (av_find_stream_info (ctx) < 0) ++ if (avformat_find_stream_info (ctx, NULL) < 0) + { + if (dlna->verbosity) + fprintf (stderr, "can't find stream info\n"); +@@ -334,7 +334,7 @@ dlna_guess_media_profile (dlna_t *dlna, const char *filename) + p = p->next; + } + +- av_close_input_file (ctx); ++ avformat_close_input (&ctx); + free (codecs); + return profile; + } |