Merge pull request #1901 from mstorsjo/cleanup
Clean up warnings and incorrect indentation in the console tools
This commit is contained in:
commit
473f2e3d42
@ -305,7 +305,7 @@ void H264DecodeInstance (ISVCDecoder* pDecoder, const char* kpH264FileName, cons
|
|||||||
|
|
||||||
#if defined (WINDOWS_PHONE)
|
#if defined (WINDOWS_PHONE)
|
||||||
g_dDecTime = dElapsed;
|
g_dDecTime = dElapsed;
|
||||||
g_fDecFPS = (iFrameCount * 1.0) / dElapsed;
|
g_fDecFPS = (iFrameCount * 1.0f) / (float) dElapsed;
|
||||||
g_iDecodedFrameNum = iFrameCount;
|
g_iDecodedFrameNum = iFrameCount;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ int ParseCommandLine (int argc, char** argv, SSourcePicture* pSrcPic, SEncParamE
|
|||||||
sFileSet.uiFrameToBeCoded = atoi (argv[n++]);
|
sFileSet.uiFrameToBeCoded = atoi (argv[n++]);
|
||||||
|
|
||||||
else if (!strcmp (pCommand, "-frin") && (n < argc))
|
else if (!strcmp (pCommand, "-frin") && (n < argc))
|
||||||
pSvcParam.fMaxFrameRate = atof (argv[n++]);
|
pSvcParam.fMaxFrameRate = (float) atof (argv[n++]);
|
||||||
|
|
||||||
else if (!strcmp (pCommand, "-numtl") && (n < argc))
|
else if (!strcmp (pCommand, "-numtl") && (n < argc))
|
||||||
pSvcParam.iTemporalLayerNum = atoi (argv[n++]);
|
pSvcParam.iTemporalLayerNum = atoi (argv[n++]);
|
||||||
@ -923,7 +923,7 @@ int ProcessEncoding (ISVCEncoder* pPtrEnc, int argc, char** argv, bool bConfigFi
|
|||||||
sSvcParam.iPicWidth, sSvcParam.iPicHeight,
|
sSvcParam.iPicWidth, sSvcParam.iPicHeight,
|
||||||
iActualFrameEncodedCount, dElapsed, (iActualFrameEncodedCount * 1.0) / dElapsed);
|
iActualFrameEncodedCount, dElapsed, (iActualFrameEncodedCount * 1.0) / dElapsed);
|
||||||
#if defined (WINDOWS_PHONE)
|
#if defined (WINDOWS_PHONE)
|
||||||
g_fFPS = (iActualFrameEncodedCount * 1.0) / dElapsed;
|
g_fFPS = (iActualFrameEncodedCount * 1.0f) / (float) dElapsed;
|
||||||
g_dEncoderTime = dElapsed;
|
g_dEncoderTime = dElapsed;
|
||||||
g_iEncodedFrame = iActualFrameEncodedCount;
|
g_iEncodedFrame = iActualFrameEncodedCount;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user