Loading media/libstagefright/OMXCodec.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -890,7 +890,7 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { } else if (iFramesInterval == 0) { return 0; } OMX_U32 ret = frameRate * iFramesInterval; OMX_U32 ret = frameRate * iFramesInterval - 1; CHECK(ret > 1); return ret; } Loading Loading
media/libstagefright/OMXCodec.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -890,7 +890,7 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { } else if (iFramesInterval == 0) { return 0; } OMX_U32 ret = frameRate * iFramesInterval; OMX_U32 ret = frameRate * iFramesInterval - 1; CHECK(ret > 1); return ret; } Loading