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

Unified Diff: media/cast/net/cast_transport_config.cc

Issue 2068133005: Refactoring: Use enum for RtpPayloadType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to Patch 2. Created 4 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
« no previous file with comments | « media/cast/net/cast_transport_config.h ('k') | media/cast/net/cast_transport_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_config.cc
diff --git a/media/cast/net/cast_transport_config.cc b/media/cast/net/cast_transport_config.cc
index 2590eb7a1a2d52fe2d0b28ae7ab44c6bbfd585b9..77f3cde68c81f35990edee1704b7321fa893b522 100644
--- a/media/cast/net/cast_transport_config.cc
+++ b/media/cast/net/cast_transport_config.cc
@@ -8,7 +8,7 @@ namespace media {
namespace cast {
CastTransportRtpConfig::CastTransportRtpConfig()
- : ssrc(0), feedback_ssrc(0), rtp_payload_type(0) {}
+ : ssrc(0), feedback_ssrc(0), rtp_payload_type(RtpPayloadType::UNKNOWN) {}
CastTransportRtpConfig::~CastTransportRtpConfig() {}
« no previous file with comments | « media/cast/net/cast_transport_config.h ('k') | media/cast/net/cast_transport_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698