Merge tag 'v0.18.19' into v0.19.x

This commit is contained in:
Max Kellermann
2014-11-26 20:01:25 +01:00
2 changed files with 11 additions and 4 deletions
NEWS
src/archive/plugins

6
NEWS

@ -1,6 +1,8 @@
ver 0.19.5 (not yet released)
* input
- nfs: fix crash on connection failure
* archive
- zzip: fix crash after seeking
* decoder
- dsdiff, dsf, opus: fix deadlock while seeking
- mp4v2: remove because of incompatible license
@ -136,6 +138,10 @@ ver 0.19 (2014/10/10)
* install systemd unit for socket activation
* Android port
ver 0.18.19 (2014/11/26)
* archive
- zzip: fix crash after seeking
ver 0.18.18 (2014/11/18)
* decoder
- ffmpeg: support opus

@ -168,13 +168,14 @@ bool
ZzipInputStream::Seek(offset_type new_offset, Error &error)
{
zzip_off_t ofs = zzip_seek(file, new_offset, SEEK_SET);
if (ofs != -1) {
if (ofs < 0) {
error.Set(zzip_domain, "zzip_seek() has failed");
return false;
}
offset = ofs;
return true;
}
return false;
}
/* exported structures */