NvJPEGDecoder cannot be reused for varying size images in JetPack 5.0.2

Hi,
We would suggest upgrade to latest Jetpack 5.1.1. For using 5.0.2, if the resolution of JPEG files varies, please create/destroy NvJPEGDecoder in decoding each file.