Showing the changes to test/api/encode_decode_api_test.cpp (1 of 14 files). Show all
Unified · Split
| @@ -101,9 +101,8 @@ void EncodeDecodeTestAPIBase::EncDecOneFrame (const int iWidth, const int iHeigh · 100 unmodified lines | ||
| 101 | 101 | //call decoder |
| 102 | 102 | unsigned char* pData[3] = { NULL }; |
| 103 | 103 | memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); |
| 104 | − rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); | |
| 104 | + rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); | |
| 105 | 105 | EXPECT_TRUE (rv == cmResultSuccess) << " rv = " << rv << " iFrameIdx = " << iFrame; |
| 106 | − | |
| 107 | 106 | if (NULL != pfEnc) { |
| 108 | 107 | fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pfEnc); |
| 109 | 108 | } |