Ext: Update to dav1d 1.2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 22c518f..c786773 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -56,7 +56,7 @@
12 and now also 16. Files read by apps/shared/ can output 16-bit avifImage
instances.
* Update aom.cmd: v3.6.0
-* Update dav1d.cmd: 1.1.0
+* Update dav1d.cmd: 1.2.0
* Update rav1e.cmd: v0.6.3
* avifImageCreate(), avifImageCreateEmpty(), avifEncoderCreate() and other
internal functions now return NULL if a memory allocation failed.
diff --git a/ext/dav1d.cmd b/ext/dav1d.cmd
index 16548a6..a5cdfdf 100755
--- a/ext/dav1d.cmd
+++ b/ext/dav1d.cmd
@@ -9,7 +9,7 @@
: # "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"
: # When updating the dav1d version, make the same change to dav1d_android.sh.
-git clone -b 1.1.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
+git clone -b 1.2.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
cd dav1d
mkdir build
diff --git a/ext/dav1d_android.sh b/ext/dav1d_android.sh
index 03c8567..8466eae 100755
--- a/ext/dav1d_android.sh
+++ b/ext/dav1d_android.sh
@@ -13,12 +13,8 @@
echo "Usage: ${0} <path_to_android_ndk>"
exit 1
fi
-git clone --depth 1 https://code.videolan.org/videolan/dav1d.git
+git clone -b 1.2.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
cd dav1d
-# TODO(vigneshv): 6afabf8 is the earliest version that contains the crossfiles
-# necessary for Android NDK builds. Replace this with git clone at 1.2.0 (or
-# higher) when dav1d.cmd is updated.
-git checkout 6afabf8
mkdir build
cd build
diff --git a/tests/docker/build.sh b/tests/docker/build.sh
index 42ebf48..ed99967 100644
--- a/tests/docker/build.sh
+++ b/tests/docker/build.sh
@@ -35,7 +35,7 @@
# dav1d
cd
-git clone -b 1.1.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
+git clone -b 1.2.0 --depth 1 https://code.videolan.org/videolan/dav1d.git
cd dav1d
mkdir build
cd build