Commit bc537717 authored by Otto Länd's avatar Otto Länd
Browse files

Bug 1703812: apply code formatting via Lando

# ignore-this-changeset
parent 732964fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -345,8 +345,8 @@ MediaResult FFmpegAudioDecoder<LIBAV_VER>::DoDecode(MediaRawData* aSample,
      DebugOnly<bool> trimmed = false;
      if (mEncoderDelay) {
        trimmed = true;
        int toPop =
            std::min(mFrame->nb_samples, static_cast<int>(mRemainingEncoderDelay));
        int toPop = std::min(mFrame->nb_samples,
                             static_cast<int>(mRemainingEncoderDelay));
        audio.PopFront(toPop * numChannels);
        mFrame->nb_samples -= toPop;
        mRemainingEncoderDelay -= toPop;
+2 −1
Original line number Diff line number Diff line
@@ -102,7 +102,8 @@ MediaResult FFmpegDataDecoder<LIBAV_VER>::InitDecoder() {
  InitCodecContext();
  MediaResult ret = AllocateExtraData();
  if (NS_FAILED(ret)) {
    FFMPEG_LOG("  couldn't allocate ffmpeg extra data for codec %s", codec->name);
    FFMPEG_LOG("  couldn't allocate ffmpeg extra data for codec %s",
               codec->name);
    mLib->av_freep(&mCodecContext);
    return ret;
  }
+1 −2
Original line number Diff line number Diff line
@@ -44,8 +44,7 @@ WMFAudioMFTManager::WMFAudioMFTManager(const AudioInfo& aConfig)
          aacCodecSpecificData.mEncoderDelayFrames;
      mTotalMediaFrames = aacCodecSpecificData.mMediaFrameCount;
      LOG("AudioMFT decoder: Found AAC decoder delay (%" PRIu32
          "frames) and total media frames (%" PRIu64
          " frames)\n",
          "frames) and total media frames (%" PRIu64 " frames)\n",
          mEncoderDelay, mTotalMediaFrames);
    } else {
      // Gracefully handle failure to cover all codec specific cases above. Once