some inits warnings

Origin commit data
------------------
Branch: ni/coolstream
Commit: c99486520e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-08-21 (Mon, 21 Aug 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-08-21 14:42:24 +02:00
parent cb19741014
commit c592fe60d6
5 changed files with 9 additions and 8 deletions

View File

@@ -466,7 +466,7 @@ int CNeutrinoAPI::setVideoAspectRatioAsString(std::string newRatioString)
//-------------------------------------------------------------------------
std::string CNeutrinoAPI::getVideoResolutionAsString(void)
{
int xres, yres, framerate;
int xres = 0, yres = 0, framerate = 0;
videoDecoder->getPictureInfo(xres, yres, framerate);
std::stringstream out;
out << xres << "x" << yres;
@@ -476,7 +476,7 @@ std::string CNeutrinoAPI::getVideoResolutionAsString(void)
//-------------------------------------------------------------------------
std::string CNeutrinoAPI::getVideoFramerateAsString(void)
{
int xres, yres, framerate;
int xres = 0, yres = 0, framerate = 0;
std::string sframerate = "{=L:unknown=}";
videoDecoder->getPictureInfo(xres, yres, framerate);
switch(framerate){
@@ -491,7 +491,7 @@ std::string CNeutrinoAPI::getVideoFramerateAsString(void)
//-------------------------------------------------------------------------
std::string CNeutrinoAPI::getAudioInfoAsString(void)
{
int type, layer, freq, mode, lbitrate;
int type = 0, layer = 0, freq = 0, mode = 0, lbitrate = 0;
audioDecoder->getAudioInfo(type, layer, freq, lbitrate, mode);
std::stringstream out;
if(type == 0)
@@ -557,7 +557,7 @@ void CNeutrinoAPI::SendAllTimers(std::string url, bool force)
Timerd->getTimerList(timerlist);
sort(timerlist.begin(), timerlist.end());
int pre,post;
int pre = 0,post = 0;
Timerd->getRecordingSafety(pre,post);
CHTTPTool httpTool;
std::string r_url;