omxvideodec: fixes 'port' may be used uninitialized in this function
authorJosep Torra <n770galaxy@gmail.com>
Thu, 18 Apr 2013 13:21:32 +0000 (15:21 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Thu, 18 Apr 2013 13:21:32 +0000 (15:21 +0200)
omx/gstomxvideodec.c

index 27c443d..342470e 100644 (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 {