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
cbc1a58e
Commit
cbc1a58e
authored
Dec 08, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.18.20' into v0.19.x
parents
811af02f
1b5f33a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
NEWS
NEWS
+8
-0
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+5
-0
Id.hxx
src/thread/Id.hxx
+2
-2
No files found.
NEWS
View file @
cbc1a58e
ver 0.19.6 (not yet released)
* decoder
- ffmpeg: support FFmpeg 2.5
* fix build failure with musl
* android
- update libFLAC to 1.3.1
...
...
@@ -142,6 +145,11 @@ ver 0.19 (2014/10/10)
* install systemd unit for socket activation
* Android port
ver 0.18.20 (2014/12/08)
* decoder
- ffmpeg: support FFmpeg 2.5
* fix build failure with musl
ver 0.18.19 (2014/11/26)
* archive
- zzip: fix crash after seeking
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
cbc1a58e
...
...
@@ -423,10 +423,15 @@ ffmpeg_probe(Decoder *decoder, InputStream &is)
avpd
.
filename
=
is
.
GetURI
();
#ifdef AVPROBE_SCORE_MIME
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(56, 5, 1)
/* this attribute was added in libav/ffmpeg version 11, but
unfortunately it's "uint8_t" instead of "char", and it's
not "const" - wtf? */
avpd
.
mime_type
=
(
uint8_t
*
)
const_cast
<
char
*>
(
is
.
GetMimeType
());
#else
/* API problem fixed in FFmpeg 2.5 */
avpd
.
mime_type
=
is
.
GetMimeType
();
#endif
#endif
return
av_probe_input_format
(
&
avpd
,
true
);
...
...
src/thread/Id.hxx
View file @
cbc1a58e
...
...
@@ -75,7 +75,7 @@ public:
#ifdef WIN32
return
::
GetCurrentThreadId
();
#else
return
::
pthread_self
();
return
pthread_self
();
#endif
}
...
...
@@ -84,7 +84,7 @@ public:
#ifdef WIN32
return
id
==
other
.
id
;
#else
return
::
pthread_equal
(
id
,
other
.
id
);
return
pthread_equal
(
id
,
other
.
id
);
#endif
}
...
...
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