Commit de43bddc authored by Max Kellermann's avatar Max Kellermann

Merge tag 'v0.19.6'

parents 6edfc56c c46f48ab
...@@ -77,6 +77,8 @@ tags ...@@ -77,6 +77,8 @@ tags
/test/test_vorbis_encoder /test/test_vorbis_encoder
/test/DumpDatabase /test/DumpDatabase
/lib/
/*.tar.gz /*.tar.gz
/*.tar.bz2 /*.tar.bz2
/*.tar.xz /*.tar.xz
......
...@@ -12,6 +12,14 @@ ver 0.20 (not yet released) ...@@ -12,6 +12,14 @@ ver 0.20 (not yet released)
* reset song priority on playback * reset song priority on playback
* remove dependency on GLib * remove dependency on GLib
ver 0.19.6 (2014/12/08)
* decoder
- ffmpeg: support FFmpeg 2.5
* fix build failure with musl
* android
- update libFLAC to 1.3.1
- update FFmpeg to 2.5
ver 0.19.5 (2014/11/26) ver 0.19.5 (2014/11/26)
* input * input
- nfs: fix crash on connection failure - nfs: fix crash on connection failure
...@@ -152,6 +160,11 @@ ver 0.19 (2014/10/10) ...@@ -152,6 +160,11 @@ ver 0.19 (2014/10/10)
* install systemd unit for socket activation * install systemd unit for socket activation
* Android port * 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) ver 0.18.19 (2014/11/26)
* archive * archive
- zzip: fix crash after seeking - zzip: fix crash after seeking
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.musicpd" package="org.musicpd"
android:installLocation="auto" android:installLocation="auto"
android:versionCode="9" android:versionCode="10"
android:versionName="0.19.5"> android:versionName="0.19.6">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17"/> <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17"/>
......
...@@ -314,8 +314,8 @@ thirdparty_libs = [ ...@@ -314,8 +314,8 @@ thirdparty_libs = [
), ),
AutotoolsProject( AutotoolsProject(
'https://svn.xiph.org/releases/flac/flac-1.3.0.tar.xz', 'http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz',
'13b5c214cee8373464d3d65dee362cdd', 'b9922c9a0378c88d3e901b234f852698',
'lib/libFLAC.a', 'lib/libFLAC.a',
[ [
'--disable-shared', '--enable-static', '--disable-shared', '--enable-static',
...@@ -341,8 +341,8 @@ thirdparty_libs = [ ...@@ -341,8 +341,8 @@ thirdparty_libs = [
), ),
FfmpegProject( FfmpegProject(
'http://www.ffmpeg.org/releases/ffmpeg-2.2.3.tar.bz2', 'http://ffmpeg.org/releases/ffmpeg-2.5.tar.bz2',
'dbb5b6b69bd010916f17df0ae596e0b1', '4346fe710cc6bdd981f6534d2420d1ab',
'lib/libavcodec.a', 'lib/libavcodec.a',
[ [
'--disable-shared', '--enable-static', '--disable-shared', '--enable-static',
...@@ -366,8 +366,8 @@ thirdparty_libs = [ ...@@ -366,8 +366,8 @@ thirdparty_libs = [
), ),
AutotoolsProject( AutotoolsProject(
'http://curl.haxx.se/download/curl-7.37.0.tar.lzma', 'http://curl.haxx.se/download/curl-7.39.0.tar.lzma',
'54bfd1eb5214f604186d6f5ac61c7781', 'e9aa6dec29920eba8ef706ea5823bad7',
'lib/libcurl.a', 'lib/libcurl.a',
[ [
'--disable-shared', '--enable-static', '--disable-shared', '--enable-static',
......
...@@ -423,10 +423,15 @@ ffmpeg_probe(Decoder *decoder, InputStream &is) ...@@ -423,10 +423,15 @@ ffmpeg_probe(Decoder *decoder, InputStream &is)
avpd.filename = is.GetURI(); avpd.filename = is.GetURI();
#ifdef AVPROBE_SCORE_MIME #ifdef AVPROBE_SCORE_MIME
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(56, 5, 1)
/* this attribute was added in libav/ffmpeg version 11, but /* this attribute was added in libav/ffmpeg version 11, but
unfortunately it's "uint8_t" instead of "char", and it's unfortunately it's "uint8_t" instead of "char", and it's
not "const" - wtf? */ not "const" - wtf? */
avpd.mime_type = (uint8_t *)const_cast<char *>(is.GetMimeType()); 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 #endif
return av_probe_input_format(&avpd, true); return av_probe_input_format(&avpd, true);
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
AudioOutput::AudioOutput(const AudioOutputPlugin &_plugin) AudioOutput::AudioOutput(const AudioOutputPlugin &_plugin)
:plugin(_plugin), :plugin(_plugin),
mixer(nullptr),
enabled(true), really_enabled(false), enabled(true), really_enabled(false),
open(false), open(false),
pause(false), pause(false),
......
...@@ -75,7 +75,7 @@ public: ...@@ -75,7 +75,7 @@ public:
#ifdef WIN32 #ifdef WIN32
return ::GetCurrentThreadId(); return ::GetCurrentThreadId();
#else #else
return ::pthread_self(); return pthread_self();
#endif #endif
} }
...@@ -84,7 +84,7 @@ public: ...@@ -84,7 +84,7 @@ public:
#ifdef WIN32 #ifdef WIN32
return id == other.id; return id == other.id;
#else #else
return ::pthread_equal(id, other.id); return pthread_equal(id, other.id);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment