зеркало из https://github.com/mozilla/pjs.git
Bug 462409 - Update liboggplay to get fixes for Solaris and EOF issues - rs=roc
This commit is contained in:
Родитель
d27ee76323
Коммит
12d98efc34
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче