Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1b5f33a435 | ||
![]() |
41b4a63f2b | ||
![]() |
d8fc2db910 | ||
![]() |
dc11dea7cc |
5
NEWS
5
NEWS
@@ -1,3 +1,8 @@
|
|||||||
|
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
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
AC_PREREQ(2.60)
|
AC_PREREQ(2.60)
|
||||||
|
|
||||||
AC_INIT(mpd, 0.18.19, mpd-devel@musicpd.org)
|
AC_INIT(mpd, 0.18.20, mpd-devel@musicpd.org)
|
||||||
|
|
||||||
VERSION_MAJOR=0
|
VERSION_MAJOR=0
|
||||||
VERSION_MINOR=18
|
VERSION_MINOR=18
|
||||||
VERSION_REVISION=19
|
VERSION_REVISION=20
|
||||||
VERSION_EXTRA=0
|
VERSION_EXTRA=0
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([src/Main.cxx])
|
AC_CONFIG_SRCDIR([src/Main.cxx])
|
||||||
|
@@ -394,10 +394,15 @@ ffmpeg_probe(Decoder *decoder, InputStream &is)
|
|||||||
avpd.filename = is.uri.c_str();
|
avpd.filename = is.uri.c_str();
|
||||||
|
|
||||||
#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);
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user