Bug 1309802 - Supress warning r=jya
authorSotaro Ikeda <sotaro.ikeda.g@gmail.com>
Thu, 13 Oct 2016 06:10:31 -0700
changeset 317867 4c0c548d98c0baf23a3774709759d6b055e63c2f
parent 317866 802c8d996c9aff2e8c25781ce038c9c7e8529f78
child 317868 f9d090c04d8fc96ac07691a45dcffc575aa3eb33
push id33170
push usercbook@mozilla.com
push dateFri, 14 Oct 2016 10:37:07 +0000
treeherderautoland@0d101ebfd95c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1309802
milestone52.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 1309802 - Supress warning r=jya
dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
--- a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
+++ b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
@@ -306,17 +306,17 @@ FFmpegVideoDecoder<LIBAV_VER>::DoDecode(
       case AVCOL_SPC_BT709:
         b.mYUVColorSpace = YUVColorSpace::BT709;
         break;
       case AVCOL_SPC_SMPTE170M:
       case AVCOL_SPC_BT470BG:
         b.mYUVColorSpace = YUVColorSpace::BT601;
         break;
       default:
-        NS_WARNING("Unsupported yuv color space.");
+        break;
     }
   }
   RefPtr<VideoData> v =
     VideoData::CreateAndCopyData(mInfo,
                                   mImageContainer,
                                   aSample->mOffset,
                                   pts,
                                   duration,