Problem about Accelerated Decode with ffmpeg

Hi,
Please refer to explanation in
Question in NVDEC Accelerated Decode with ffmpeg - #3 by DaneLLL