release v0.19.6

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAABAgAGBQJUhbH6AAoJECNuiljG20USe/4QAJdMAjnggHbcC/JO9pdJ/5B1
 vK+wJqqpNkTpjRaI1OGmxWJCUYKFLCDhoSoPjkyxZ7qmvEDdhQo105/iSod1DOb7
 4wAbtrCCfkHKwNZHI2Zf713urBTkT4AZNkSmqBnFRF+sJbiKlQ4Y1EXYG/cwsu63
 8RZx3mOURi52OCYuhzurZ2UDqLj0xJ4bFxRiqHV0LLeOAyGa7P6O2M4WwjNsDB9e
 9o2ckwis3Yl+0E8FYW57WkFiSkZ40xgNa6O6gOWOYsjpey45IQrxhB5ewy/svIwZ
 jeVVnd12mkFAXG3ZBQjwAe+/H8yG5NdqhL7llznuYaX6Ii9zeAPgccK/rZ+kYKe8
 gg126KqI9lvUFV45tfoxVqUFiJu5zB0etSto/hNsIdt6ngnuU86WJ3c/X0tDxhN/
 GoIKRQxPkJ5XjNdBuRx3ELWx4Jj1UM7CHgQBaqnr0bwfWfFa0IinBwnPw0HqYyBn
 p9HZqeVrD3/JDFxungZlWaDk52iScs4Jc4ovGP8UKQVfdkS66awxcWn1gXroXla6
 UOslSkB/Gu7WluGzgCkmvD43PY/8oZlOeiP3xmsDgoq5Dg+z4GAw3NCn7/i8Mt5I
 HTjNBhLhLLoTjFmcD9MwQtV5/E1UnY1VHTpoZa8dXueyxPgMFmh14BazY+bPnfpw
 lSNAo7p0Mh8MdWrRN2Vc
 =QvY3
 -----END PGP SIGNATURE-----

Merge tag 'v0.19.6'
This commit is contained in:
Max Kellermann 2014-12-08 15:22:44 +01:00
commit de43bddc1a
7 changed files with 31 additions and 10 deletions

2
.gitignore vendored
View File

@ -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

13
NEWS
View File

@ -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)
* 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

View File

@ -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"/>

View File

@ -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 = [
), ),
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 = [
), ),
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',

View File

@ -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);

View File

@ -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),

View File

@ -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:
#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
} }