Index: webrtc/modules/video_coding/include/video_codec_interface.h |
diff --git a/webrtc/modules/video_coding/include/video_codec_interface.h b/webrtc/modules/video_coding/include/video_codec_interface.h |
index 19303c0d6783ed47cdd07a7f7461ca059bc59e69..f0a11e7a532316356a2f52bcf4d98f40d376ed84 100644 |
--- a/webrtc/modules/video_coding/include/video_codec_interface.h |
+++ b/webrtc/modules/video_coding/include/video_codec_interface.h |
@@ -90,7 +90,9 @@ union CodecSpecificInfoUnion { |
// must be fitted with a copy-constructor. This is because it is copied |
// in the copy-constructor of VCMEncodedFrame. |
struct CodecSpecificInfo { |
+ CodecSpecificInfo() : codecType(kVideoCodecUnknown), codec_name(nullptr) {} |
VideoCodecType codecType; |
+ const char* codec_name; |
CodecSpecificInfoUnion codecSpecific; |
}; |