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