most likely our nv headers drifted from that ffmpeg-7.0/proprietary driver assumes at runtime.
you can try to install something like nv-codec-headers and then add