Skip to content

Commit

Permalink
Test PR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanJessica committed Apr 13, 2022
1 parent 3a2ffd6 commit d18d369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/legacy/sample_common/src/sample_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,7 @@ mfxStatus CSmplYUVWriter::WriteNextFrame(mfxFrameSurface1* pSurface) {
tmp.resize(pData.Pitch);
MSDK_CHECK_PARSE_RESULT(tmp.size(), pInfo.CropW, MFX_ERR_INCOMPATIBLE_VIDEO_PARAM);


for (int idx = 0; idx < pInfo.CropW; idx++) {
tmp[idx] = shortPtr[idx] >> shiftSizeLuma;
}
Expand Down

0 comments on commit d18d369

Please sign in to comment.