diff --git a/src/buffer/player.cpp b/src/buffer/player.cpp index 2f61f9f2..1487e0d7 100644 --- a/src/buffer/player.cpp +++ b/src/buffer/player.cpp @@ -258,9 +258,7 @@ int main(int argc, char** argv){ in_out.setBlocking(true); }else{ lasttime = Util::epoch(); - //insert proper header for this type of data - JSON::Value toSend = source.getJSON(); - toSend.sendTo(in_out); + source.getJSON().sendTo(in_out); } }else{ Util::sleep(10);