services/mvd: Remove redundant conditional in mvdstdRenderVideoFrame()
This condition is already checked further up in the function.
This commit is contained in:
parent
7d8765101b
commit
244cc5228b
@ -372,11 +372,8 @@ Result mvdstdRenderVideoFrame(MVDSTD_Config* config, bool wait)
|
|||||||
if(config==NULL)return -1;
|
if(config==NULL)return -1;
|
||||||
if(mvdstd_mode!=MVDMODE_VIDEOPROCESSING)return -2;
|
if(mvdstd_mode!=MVDMODE_VIDEOPROCESSING)return -2;
|
||||||
|
|
||||||
if(config)
|
ret = MVDSTD_SetConfig(config);
|
||||||
{
|
if(ret!=MVD_STATUS_OK)return ret;
|
||||||
ret = MVDSTD_SetConfig(config);
|
|
||||||
if(ret!=MVD_STATUS_OK)return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = MVD_STATUS_BUSY;
|
ret = MVD_STATUS_BUSY;
|
||||||
while(ret==MVD_STATUS_BUSY)
|
while(ret==MVD_STATUS_BUSY)
|
||||||
|
Loading…
Reference in New Issue
Block a user