Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1508)

Unified Diff: webrtc/modules/video_coding/codecs/h264/include/h264_globals.h

Issue 2945853002: Only append SPS/PPS to bitstream if supplied out of bound. (Closed)
Patch Set: delete[] sps/pps data in unittests Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/codecs/h264/include/h264_globals.h
diff --git a/webrtc/modules/video_coding/codecs/h264/include/h264_globals.h b/webrtc/modules/video_coding/codecs/h264/include/h264_globals.h
index 93c8887dcd4c43d895b6d16a64a5327b0d46e5fb..8f0d9fe1595329a9f417c4f317026f32b10db462 100644
--- a/webrtc/modules/video_coding/codecs/h264/include/h264_globals.h
+++ b/webrtc/modules/video_coding/codecs/h264/include/h264_globals.h
@@ -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;
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc ('k') | webrtc/modules/video_coding/h264_sps_pps_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698