Bug 45953 - Update to latest liboggplay version to fix bad free

This commit is contained in:
Chris Double 2008-10-16 15:52:56 +13:00
Родитель d49cb37336
Коммит 852c956415
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -5,4 +5,4 @@ the Mozilla build system.
http://svn.annodex.net/liboggplay/trunk/ http://svn.annodex.net/liboggplay/trunk/
The svn revision number used was r3693. The svn revision number used was r3729.

Просмотреть файл

@ -74,7 +74,7 @@
#define STDC_HEADERS 1 #define STDC_HEADERS 1
/* Version number of package */ /* Version number of package */
#define VERSION "0.0.1.svn" #define VERSION "0.0.1"
/* Define to 1 if your processor stores words with the most significant byte /* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */ first (like Motorola and SPARC, unlike Intel and VAX). */

Просмотреть файл

@ -82,7 +82,7 @@ oggplay_seek(OggPlay *me, ogg_int64_t milliseconds) {
* this will occur as soon as the thread calls oggplay_buffer_release_next * this will occur as soon as the thread calls oggplay_buffer_release_next
*/ */
trash = malloc(sizeof(OggPlaySeekTrash)); trash = calloc(sizeof(OggPlaySeekTrash), 1);
/* /*
* store the old buffer in it next. * store the old buffer in it next.