Bug 1313398: P1. Fix indent. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 31 May 2017 16:12:40 +0200
changeset 412255 45edd8ee9c43a746c40d01cba280e6949f271540
parent 412254 3ad1b460540d2a6eda0011805457d9701d113f26
child 412256 18c7e0ab522082c69fe0b3e7b0fe1feb3f84c833
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1313398
milestone55.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 1313398: P1. Fix indent. r=gerald MozReview-Commit-ID: 3eBq1mrR98D
dom/media/platforms/wrappers/H264Converter.cpp
--- a/dom/media/platforms/wrappers/H264Converter.cpp
+++ b/dom/media/platforms/wrappers/H264Converter.cpp
@@ -320,18 +320,18 @@ H264Converter::DecodeFirstSample(MediaRa
 nsresult
 H264Converter::CheckForSPSChange(MediaRawData* aSample)
 {
   RefPtr<MediaByteBuffer> extra_data =
     mp4_demuxer::AnnexB::ExtractExtraData(aSample);
   if (!mp4_demuxer::AnnexB::HasSPS(extra_data)
       || mp4_demuxer::AnnexB::CompareExtraData(extra_data,
                                                mCurrentConfig.mExtraData)) {
-        return NS_OK;
-      }
+    return NS_OK;
+  }
 
   RefPtr<MediaRawData> sample = aSample;
 
   if (CanRecycleDecoder()) {
     // Do not recreate the decoder, reuse it.
     UpdateConfigFromExtraData(extra_data);
     if (!sample->mTrackInfo) {
       sample->mTrackInfo = new TrackInfoSharedPtr(mCurrentConfig, 0);