Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
[sample_vpp] Fix wrong variable usage in use_extapi block
Browse files Browse the repository at this point in the history
  • Loading branch information
Grishin, Anton authored and Oleg Nabiullin committed Sep 30, 2019
1 parent a80ba73 commit fb91292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/sample_vpp/src/sample_vpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ int main(int argc, msdk_char *argv[])
&out_surface,
&syncPoint);
}
pOutSurf = static_cast<mfxFrameSurfaceWrap*>(pOutSurf);
pOutSurf = static_cast<mfxFrameSurfaceWrap*>(out_surface);
if(MFX_ERR_MORE_DATA != sts)
bDoNotUpdateIn = true;
}
Expand Down Expand Up @@ -908,7 +908,7 @@ int main(int argc, msdk_char *argv[])
&out_surface,
&syncPoint );
}
pOutSurf = static_cast<mfxFrameSurfaceWrap*>(pOutSurf);
pOutSurf = static_cast<mfxFrameSurfaceWrap*>(out_surface);
}
else
{
Expand Down

0 comments on commit fb91292

Please sign in to comment.