Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ec43721c
Commit
ec43721c
authored
Jan 12, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.16.x'
Conflicts: src/decoder/ffmpeg_decoder_plugin.c
parents
26ec6271
39d52762
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
ffmpeg_decoder_plugin.c
src/decoder/ffmpeg_decoder_plugin.c
+7
-3
No files found.
src/decoder/ffmpeg_decoder_plugin.c
View file @
ec43721c
...
...
@@ -35,8 +35,12 @@
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <libavutil/avutil.h>
#include <libavutil/log.h>
#include <libavutil/mathematics.h>
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,5,0)
#include <libavutil/dict.h>
#endif
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "ffmpeg"
...
...
@@ -428,7 +432,7 @@ ffmpeg_decode(struct decoder *decoder, struct input_stream *input)
return
;
}
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,
2
,0)
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,
6
,0)
const
int
find_result
=
avformat_find_stream_info
(
format_context
,
NULL
);
#else
...
...
@@ -601,7 +605,7 @@ ffmpeg_copy_metadata(struct tag *tag,
#endif
const
ffmpeg_tag_map
tag_map
)
{
#if LIBAV
FORMAT_VERSION_INT >= AV_VERSION_INT(53,1
,0)
#if LIBAV
UTIL_VERSION_INT >= AV_VERSION_INT(51,5
,0)
AVDictionaryEntry
*
mt
=
NULL
;
while
((
mt
=
av_dict_get
(
m
,
tag_map
.
name
,
mt
,
0
))
!=
NULL
)
...
...
@@ -635,7 +639,7 @@ ffmpeg_stream_tag(struct input_stream *is)
return
NULL
;
}
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,
2
,0)
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,
6
,0)
const
int
find_result
=
avformat_find_stream_info
(
f
,
NULL
);
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment