author Bryce Van Dyk <>
Tue, 19 Jan 2016 11:43:49 +1300
changeset 288503 4261e08ba51aa5241a05d5a6da8c7557e870ef47
parent 287584 d8190cbce7b0b188ec678da1a1ec1a190c5da636
child 302658 4e6dd91cd5823834a7da0394367609a1640dfb11
permissions -rwxr-xr-x
Bug 657791 - Update WebM demuxer to consider cue-less WebMs seekable. r=jya It appears that the work to seek in WebMs that do not have cues has already been done, however this functionality was gated by the IsSeekable() function still returning that such WebMs were not seekable. This updates that function so that WebMs without cues are now considered seekable. Tests are also updated to reflect this.


set -v -e -x

if [ $# -lt 1 ]; then
  echo "Usage: /path/to/libjpeg-turbo/ [tag]"
  exit 1

srcdir=`realpath $(dirname $0)`
rm -rf $srcdir/libjpeg


(cd $repo; git archive --prefix=media/libjpeg/ $tag) | (cd $srcdir/..; tar xf -)

cd $srcdir/libjpeg
cp win/ simd/

revert_files="jconfig.h jconfigint.h MOZCHANGES mozilla.diff simd/"
if test -d ${topsrcdir}/.hg; then
    hg revert --no-backup $revert_files
elif test -d ${topsrcdir}/.git; then
    git checkout HEAD -- $revert_files

patch -p0 -i mozilla.diff
patch -p0 -i 1050342.diff