d77c19c254
* add some checks for buffer requirements
* address review comments
[ROCm/rocdecode commit: 81abe58fb4]