Fix compilation error for old decoding API
Fix compilation error for old decoding API

Commits cb9c42bdcb198b0e3ebed893e00257b95f4dcedb and
441d3fb119ce05287e94b0ae0befbb2e75173688 updated the code only for the
new decoding API.

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy