Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1b5f33a435 | ||
![]() |
41b4a63f2b | ||
![]() |
d8fc2db910 | ||
![]() |
dc11dea7cc | ||
![]() |
04f627c2af | ||
![]() |
a254f5a3a8 | ||
![]() |
143c735f96 |
9
NEWS
9
NEWS
@@ -1,3 +1,12 @@
|
|||||||
|
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
|
||||||
|
|
||||||
ver 0.18.18 (2014/11/18)
|
ver 0.18.18 (2014/11/18)
|
||||||
* decoder
|
* decoder
|
||||||
- ffmpeg: support opus
|
- ffmpeg: support opus
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
AC_PREREQ(2.60)
|
AC_PREREQ(2.60)
|
||||||
|
|
||||||
AC_INIT(mpd, 0.18.18, 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=18
|
VERSION_REVISION=20
|
||||||
VERSION_EXTRA=0
|
VERSION_EXTRA=0
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([src/Main.cxx])
|
AC_CONFIG_SRCDIR([src/Main.cxx])
|
||||||
|
@@ -186,13 +186,14 @@ zzip_input_seek(InputStream *is, InputPlugin::offset_type offset,
|
|||||||
{
|
{
|
||||||
ZzipInputStream *zis = (ZzipInputStream *)is;
|
ZzipInputStream *zis = (ZzipInputStream *)is;
|
||||||
zzip_off_t ofs = zzip_seek(zis->file, offset, whence);
|
zzip_off_t ofs = zzip_seek(zis->file, offset, whence);
|
||||||
if (ofs != -1) {
|
if (ofs < 0) {
|
||||||
error.Set(zzip_domain, "zzip_seek() has failed");
|
error.Set(zzip_domain, "zzip_seek() has failed");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
is->offset = ofs;
|
is->offset = ofs;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* exported structures */
|
/* exported structures */
|
||||||
|
|
||||||
|
@@ -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