Bug 1397440 - Added a very useful comment r?rillian draft
authorNavid <nmehregani@mozilla.com>
Wed, 06 Sep 2017 16:36:22 -0400
changeset 660292 772f2b6fafb24147dfcbf1e8c9d826d9ebc94cf0
parent 659233 973e8b890a62aee4b3170558ac3b608928162ef6
child 730198 769350f2eb4e97caecdfaee6c861e13c91c97e52
push id78360
push userbmo:nmehregani@mozilla.com
push dateWed, 06 Sep 2017 20:48:32 +0000
reviewersrillian
bugs1397440
milestone57.0a1
Bug 1397440 - Added a very useful comment r?rillian This is a practice commit to clarify what arguments we're accepting. MozReview-Commit-ID: 2qQbNAYzGwr
dom/media/platforms/agnostic/AOMDecoder.cpp
--- a/dom/media/platforms/agnostic/AOMDecoder.cpp
+++ b/dom/media/platforms/agnostic/AOMDecoder.cpp
@@ -133,16 +133,17 @@ highbd_img_downshift(aom_image_t *dst, a
   }
   switch (src->fmt) {
     case AOM_IMG_FMT_I42016:
     case AOM_IMG_FMT_I42216:
     case AOM_IMG_FMT_I44416:
     case AOM_IMG_FMT_I44016:
       break;
     default:
+      // We don't support anything that's not 16 bit
       return AOM_CODEC_UNSUP_BITSTREAM;
   }
   for (plane = 0; plane < 3; plane++) {
     int w = src->d_w;
     int h = src->d_h;
     int x, y;
     if (plane) {
       w = (w + src->x_chroma_shift) >> src->x_chroma_shift;