[beast: 3/3] Merge branch 'vorbisfile-badseek'
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 3/3] Merge branch 'vorbisfile-badseek'
- Date: Wed, 9 Sep 2015 08:14:45 +0000 (UTC)
commit e72d2b04fd354c2c4f64cfc3cc5f531fa2bb825b
Merge: 3c6f226 6a7473c
Author: Tim Janik <timj gnu org>
Date: Wed Sep 9 10:06:22 2015 +0200
Merge branch 'vorbisfile-badseek'
* This branch fixes crashes when seeking with vorbisfile-1.3.4 and earlier.
The crashes can occour for small vorbis files when pcm_seek(_page)
gets close to EOF. To avoid this situation, we force a raw seek to
the file start before attempting a pcm_seek. This effectively
doubles seeking time but avoids crashes in most cases.
* vorbisfile-badseek:
BSE: work around vorbisfile-1.3.4 pcm_seek crashes
BUILD: define VORBISFILE_BADSEEK if vorbisfile <= 1.3.4
bse/gsldatahandle-vorbis.cc | 27 ++++++++++++++++++++++-----
configure.ac | 13 +++++++++----
2 files changed, 31 insertions(+), 9 deletions(-)
---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]