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

Unified Diff: webrtc/modules/video_coding/include/video_codec_interface.h

Issue 1897233002: Deprecate VCMPacketizationCallback::SendData and use EncodedImageCallback instead. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed simulcast idx when using kVideoCodecGeneric. Fixed merge error of rotation. Addressed stefans… Created 4 years, 8 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/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..25ec3287bcbd039076da7313f91c75b678e18a74 100644
--- a/webrtc/modules/video_coding/include/video_codec_interface.h
+++ b/webrtc/modules/video_coding/include/video_codec_interface.h
@@ -90,6 +90,7 @@ union CodecSpecificInfoUnion {
// must be fitted with a copy-constructor. This is because it is copied
// in the copy-constructor of VCMEncodedFrame.
struct CodecSpecificInfo {
+ CodecSpecificInfo() { memset(this, 0, sizeof(CodecSpecificInfo)); }
pbos-webrtc 2016/04/19 14:59:24 Remove for now and do separately per our discussio
VideoCodecType codecType;
CodecSpecificInfoUnion codecSpecific;
};

Powered by Google App Engine
This is Rietveld 408576698