mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 462409 - Update liboggplay to get fixes for Solaris and EOF issues - rs=roc
This commit is contained in:
parent
dfcd6ade60
commit
60499449f2
@ -5,7 +5,7 @@ the Mozilla build system.
|
||||
|
||||
http://svn.annodex.net/liboggplay/trunk/
|
||||
|
||||
The svn revision number used was r3729.
|
||||
The svn revision number used was r3757.
|
||||
|
||||
The patch from Annodex trac ticket 421 is applied to fix bug 459938:
|
||||
http://trac.annodex.net/ticket/421
|
||||
|
@ -100,7 +100,7 @@ oggplay_initialise(OggPlay *me, int block) {
|
||||
|
||||
while (1) {
|
||||
|
||||
if (oggz_read(me->oggz, OGGZ_READ_CHUNK_SIZE) < 0) {
|
||||
if (oggz_read(me->oggz, OGGZ_READ_CHUNK_SIZE) <= 0) {
|
||||
return E_OGGPLAY_BAD_INPUT;
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#ifndef _STD_SEMAPHORE_H
|
||||
#define _STD_SEMAPHORE_H
|
||||
#if defined(linux)
|
||||
#if defined(linux) || defined(SOLARIS)
|
||||
#include <semaphore.h>
|
||||
#define SEM_CREATE(p,s) sem_init(&(p), 1, s)
|
||||
#define SEM_SIGNAL(p) sem_post(&(p))
|
||||
|
Loading…
Reference in New Issue
Block a user