Bug 462409 - Update liboggplay to get fixes for Solaris and EOF issues - rs=roc

This commit is contained in:
Chris Double 2008-10-31 10:45:04 +13:00
parent 8edef55413
commit a5721c4f46
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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))