omxvideodec: fixes 'port' may be used uninitialized in this function

This commit is contained in:
Josep Torra 2013-04-18 15:21:32 +02:00
parent 4974f75d91
commit 9de6308382

View file

@ -1628,6 +1628,7 @@ gst_omx_video_dec_reconfigure_output_port (GstOMXVideoDec * self)
if (self->eglimage) {
/* Nothing to do here, we could however fall back to non-EGLImage in theory */
port = self->egl_out_port;
err = OMX_ErrorNone;
goto enable_port;
} else {