Only append SPS/PPS to bitstream if supplied out of band.

BUG=chromium:721597

Review-Url: https://codereview.webrtc.org/2945853002
Cr-Commit-Position: refs/heads/master@{#18701}
This commit is contained in:
philipel
2017-06-21 07:22:40 -07:00
committed by Commit Bot
parent 548813a4a7
commit 83c97da593
5 changed files with 50 additions and 89 deletions

View File

@ -488,8 +488,6 @@ bool RtpDepacketizerH264::ProcessStapAOrSingleNalu(
NaluInfo nalu;
nalu.type = payload_data[start_offset] & kTypeMask;
nalu.offset = start_offset;
nalu.size = end_offset - start_offset;
nalu.sps_id = -1;
nalu.pps_id = -1;
start_offset += H264::kNaluTypeSize;