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

@ -57,10 +57,6 @@ struct NaluInfo {
uint8_t type;
int sps_id;
int pps_id;
// Offset and size are only valid for non-FuA packets.
size_t offset;
size_t size;
};
const size_t kMaxNalusPerPacket = 10;