Concatenate string literals at compile time.
This CL was generated by running:
git ls-files | grep ".cc" | xargs perl -i -ne 'BEGIN {undef $/}; s/("[\s\n]*<<[\s\n]*")/" "/g; print;'; git cl format
After that I manually edited modules/audio_processing/gain_controller2.cc to preserve its original
formatting.
This primary benefit of this change is a small reduction in binary size.
Bug: None
Change-Id: I689fa7ba9c717c314bb167e5d592c3c4e0871e29
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165961
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30251}
This commit is contained in:
@ -384,7 +384,7 @@ RtpFrameReferenceFinder::FrameDecision RtpFrameReferenceFinder::ManageFrameVp8(
|
||||
<< " and packet range [" << frame->first_seq_num()
|
||||
<< ", " << frame->last_seq_num()
|
||||
<< "] already received, "
|
||||
<< " dropping frame.";
|
||||
" dropping frame.";
|
||||
return kDrop;
|
||||
}
|
||||
|
||||
@ -585,8 +585,9 @@ bool RtpFrameReferenceFinder::MissingRequiredFrameVp9(uint16_t picture_id,
|
||||
size_t temporal_idx = info.gof->temporal_idx[gof_idx];
|
||||
|
||||
if (temporal_idx >= kMaxTemporalLayers) {
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers << " temporal "
|
||||
<< "layers are supported.";
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers
|
||||
<< " temporal "
|
||||
"layers are supported.";
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -628,8 +629,9 @@ void RtpFrameReferenceFinder::FrameReceivedVp9(uint16_t picture_id,
|
||||
|
||||
size_t temporal_idx = info->gof->temporal_idx[gof_idx];
|
||||
if (temporal_idx >= kMaxTemporalLayers) {
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers << " temporal "
|
||||
<< "layers are supported.";
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers
|
||||
<< " temporal "
|
||||
"layers are supported.";
|
||||
return;
|
||||
}
|
||||
|
||||
@ -646,8 +648,9 @@ void RtpFrameReferenceFinder::FrameReceivedVp9(uint16_t picture_id,
|
||||
|
||||
size_t temporal_idx = info->gof->temporal_idx[gof_idx];
|
||||
if (temporal_idx >= kMaxTemporalLayers) {
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers << " temporal "
|
||||
<< "layers are supported.";
|
||||
RTC_LOG(LS_WARNING) << "At most " << kMaxTemporalLayers
|
||||
<< " temporal "
|
||||
"layers are supported.";
|
||||
return;
|
||||
}
|
||||
|
||||
@ -783,7 +786,7 @@ RtpFrameReferenceFinder::FrameDecision RtpFrameReferenceFinder::ManageFrameH264(
|
||||
<< " and packet range [" << frame->first_seq_num()
|
||||
<< ", " << frame->last_seq_num()
|
||||
<< "] already received, "
|
||||
<< " dropping frame.";
|
||||
" dropping frame.";
|
||||
return kDrop;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user