media/libogg/update.sh
author Ralph Giles <giles@mozilla.com>
Tue, 11 Oct 2011 13:50:38 +1300
changeset 79877 df9d305be41206fc7c2549bdd105c1f04f39a9d9
parent 22426 534ba368b35153a2b8446756b2bf7b17d85177b5
permissions -rw-r--r--
Bug 677581 - Update libogg to upstream svn r18096. r=kinetik This is one revision ahead of the 1.3.0, after some whitespace fixes to the documentation. Since the last update, the major changes are do documentation, the addition of the ogg_stream_*_fill() calls which are important for controlling overhead and latency with newer codecs like theora and opus. The way configure generates config_types.h has also changed, making it more necessary to have platform-specific type definitions in os_types.h. The patch for Solaris support has been updated to support this.

# Usage: ./update.sh <ogg_src_directory>
#
# Copies the needed files from a directory containing the original
# libogg source that we need for the Mozilla HTML5 media support.
cp $1/include/ogg/config_types.h ./include/ogg/config_types.h
cp $1/include/ogg/ogg.h ./include/ogg/ogg.h
cp $1/include/ogg/os_types.h ./include/ogg/os_types.h
cp $1/CHANGES ./CHANGES
cp $1/COPYING ./COPYING
cp $1/README ./README
cp $1/src/bitwise.c ./src/ogg_bitwise.c
cp $1/src/framing.c ./src/ogg_framing.c
cp $1/AUTHORS ./AUTHORS
patch -p0 < solaris-types.patch