This reverts commit 626fb290eb.
This was an intentional change for FFMPEG v5.0,
removing the cast should be done in a version check instead.
This reverts commit 626fb290eb.
This was an intentional change for FFMPEG v5.0,
removing the cast should be done in a version check instead.