gecko/media/libsydneyaudio/update.sh
Chris Pearce 6582a15604 Bug 478299. Zero out stream memory in libsydneyaudio so we don't crash when cleaning it up. r+sr=roc
--HG--
extra : rebase_source : fd1b92c236fca4d0e9d42b01a4bec64b46d21b84
2009-02-19 21:06:59 +13:00

10 lines
365 B
Bash

# Usage: ./update.sh <oggplay_src_directory>
#
# Copies the needed files from a directory containing the original
# liboggplay source that we need for the Mozilla HTML5 media support.
cp $1/include/sydney_audio.h include/sydney_audio.h
cp $1/src/*.c src/
cp $1/AUTHORS ./AUTHORS
patch -p3 < 469698_mac_stream_endian.patch
patch -p3 < 478299_zeromem_sa_stream.patch