Updated libaom to use v1.0.0-errata1 (and fixed up associated codec_aom.c)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6839136..a1694e2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,9 @@
 ### Added
 - Check for proper width/height/depth when decoding alpha with dav1d, matching libaom's impl
 
+### Changed
+- Updated codec_aom and libaom to use v1.0.0-errata1
+
 ## [0.3.6] - 2019-07-25
 ### Added
 - Exposed tile encoding to avifEncoder
diff --git a/ext/aom.cmd b/ext/aom.cmd
index 08a6b27..78aa286 100755
--- a/ext/aom.cmd
+++ b/ext/aom.cmd
@@ -3,4 +3,4 @@
 
 : # The odd choice of comment style in this file is to try to share this script between *nix and win32.
 
-git clone -n https://aomedia.googlesource.com/aom && cd aom && git checkout 38711e7fe1eff68296b0324a9809804aec359fa5 && cd ..
+git clone -n https://aomedia.googlesource.com/aom && cd aom && git checkout v1.0.0-errata1 && cd ..
diff --git a/src/codec_aom.c b/src/codec_aom.c
index 44967d5..a8bbf3e 100644
--- a/src/codec_aom.c
+++ b/src/codec_aom.c
@@ -130,7 +130,6 @@
                 break;
             case AOM_IMG_FMT_YV12:
             case AOM_IMG_FMT_AOMYV12:
-            case AOM_IMG_FMT_YV1216:
                 yuvFormat = AVIF_PIXEL_FORMAT_YV12;
                 break;
             case AOM_IMG_FMT_NONE:
@@ -338,9 +337,6 @@
     if (lossless) {
         aom_codec_control(&aomEncoder, AV1E_SET_LOSSLESS, 1);
     }
-    if (encoder->maxThreads > 1) {
-        aom_codec_control(&aomEncoder, AV1E_SET_ROW_MT, 1);
-    }
     if (encoder->tileRowsLog2 != 0) {
         int tileRowsLog2 = AVIF_CLAMP(encoder->tileRowsLog2, 0, 6);
         aom_codec_control(&aomEncoder, AV1E_SET_TILE_ROWS, tileRowsLog2);