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

Unified Diff: webrtc/common_types.h

Issue 2743543004: Speculative fix for division by zero in Vp8EncoderImpl. (Closed)
Patch Set: Fix nit. Created 3 years, 9 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/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index faa875a406709eacd8560bfc5ededc04d75aaf41..b80635ff8eac288d33008c8cace240a8c1b73bc0 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -637,7 +637,7 @@ class VideoCodec {
unsigned int minBitrate; // kilobits/sec.
unsigned int targetBitrate; // kilobits/sec.
- unsigned char maxFramerate;
+ uint32_t maxFramerate;
unsigned int qpMax;
unsigned char numberOfSimulcastStreams;
« no previous file with comments | « no previous file | webrtc/modules/video_coding/media_optimization.cc » ('j') | webrtc/modules/video_coding/media_optimization.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698