From 7dffbbacfa23632aa58d08bb8afea74a2f26a8d5 Mon Sep 17 00:00:00 2001
From: Theodoros Papatheodorou <theo@randomquark.com>
Date: Mon, 18 Dec 2017 19:21:44 +0000
Subject: [PATCH] fixed malloc error when fbo source was called to begin before
 it's been allocated

---
 src/MediaServer/MediaServer.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/MediaServer/MediaServer.cpp b/src/MediaServer/MediaServer.cpp
index 9ab8ba8..78d1af8 100644
--- a/src/MediaServer/MediaServer.cpp
+++ b/src/MediaServer/MediaServer.cpp
@@ -340,9 +340,7 @@ void MediaServer::addFboSource(FboSource * fboSource){
     
     // It is important to run the setup of the FBO
     // source from outside as we can see here.
-    fboSource->beginFbo();
     fboSource->setup();
-    fboSource->endFbo();
 }
 
 BaseSource * MediaServer::loadFboSource(string & fboSourceName){