commit | 6fe558025556b55fc173e5f700b1e4a94bce6142 | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Fri Oct 18 18:50:47 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Oct 18 18:50:47 2019 -0700 |
tree | e98a39270a7840ba6921fa7e78f4ac55c5456fb8 | |
parent | bf0cd35b30b12ac0beca3d85a20c86b7d651e3c2 [diff] | |
parent | 315da2cf903322c6207cc863ccadaed79cece9fe [diff] |
Merge "mm-video-v4l2: venc: add error handling for init failure"
diff --git a/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp b/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp index 138530f..fba05ce 100644 --- a/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp +++ b/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp
@@ -445,6 +445,7 @@ &m_sOutPortDef.nBufferSize, m_sOutPortDef.nPortIndex) != true) { eRet = OMX_ErrorUndefined; + goto init_error; } // Initialize the video color format for input port