Bug 1397440 - Added a very useful comment r=rillian
authorNavid <nmehregani@mozilla.com>
Wed, 06 Sep 2017 16:36:22 -0400
changeset 428727 9b0cf253ad1f40a5fd284524a38c4976100abfcc
parent 428726 60a28a7012ede9f22b45174c8b730a89c640636b
child 428728 6169c1d97aab3ef1fcad843619916040fe698e96
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1397440
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;