ref: 02365371e878b2134e0a098ed69e73d201862426
parent: 9ea66030719c2f0911b05cbcc79f9af89548eea8
author: Matthew Gregan <kinetik@flim.org>
date: Tue Jan 13 14:02:46 EST 2015
Initialize SVideoProperty struct completely.
--- a/module/gmp-openh264.cpp
+++ b/module/gmp-openh264.cpp
@@ -603,6 +603,7 @@
param.eOutputColorFormat = videoFormatI420;
param.uiTargetDqLayer = UCHAR_MAX; // Default value
param.eEcActiveIdc = ERROR_CON_SLICE_MV_COPY_CROSS_IDR_FREEZE_RES_CHANGE; // Error concealment on.
+ param.sVideoProperty.size = sizeof(param.sVideoProperty);
param.sVideoProperty.eVideoBsType = VIDEO_BITSTREAM_DEFAULT;
if (decoder_->Initialize (¶m)) {