Issue #1941 - Update libvorbis to 1.3.7.

This commit is contained in:
Job Bautista 2022-06-26 14:12:52 +08:00 • committed by roytam1
commit 191a010f68
72 changed files with 492 additions and 342 deletions

12
media/libvorbis/update.sh Normal file → Executable file
View file

@ -1,4 +1,8 @@
# Usage: /bin/sh update.sh <vorbis_src_directory>
#!/bin/sh
if test $# -ne 1; then
echo "Usage: /bin/sh update.sh <vorbis_src_directory>"
exit 1
fi
#
# Copies the needed files from a directory containing the original
# libvorbis source that we need for the Mozilla HTML5 media support.
@ -44,9 +48,9 @@ cp $1/lib/codebook.c ./lib/vorbis_codebook.c
cp $1/lib/bitrate.c ./lib/vorbis_bitrate.c
cp $1/lib/block.c ./lib/vorbis_block.c
cp $1/include/vorbis/codec.h ./include/vorbis/codec.h
cp $1/todo.txt ./todo.txt
cp $1/CHANGES ./CHANGES
cp $1/COPYING ./COPYING
cp $1/README ./README
cp $1/README.md ./README.md
cp $1/AUTHORS ./AUTHORS
# Encoder support
@ -81,4 +85,4 @@ cp $1/lib/books/floor/floor_books.h ./lib/books/floor/
cp $1/lib/books/uncoupled/res_books_uncoupled.h ./lib/books/uncoupled/
# Add any patches against upstream here.
# ...nothing to apply...