Revert "Cleanup: quiet const cast warning"

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 commit is contained in:
Campbell Barton 2022-02-22 10:07:01 +11:00
parent dde5cc6670
commit 2a5df72d9b
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ static int start_ffmpeg_impl(FFMpegContext *context,
{
/* Handle to the output file */
AVFormatContext *of;
AVOutputFormat *fmt;
const AVOutputFormat *fmt;
char name[FILE_MAX], error[1024];
const char **exts;