diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-22 02:07:01 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-22 02:07:05 +0300 |
commit | 2a5df72d9b334c4ce4924bd86d00a4fd262b6da0 (patch) | |
tree | 3ec79a853ac2e7cc9d089d7622f77b04160276ba /source/blender/blenkernel/intern/writeffmpeg.c | |
parent | dde5cc6670f3f41e617f5b5fd49d7982c0304c21 (diff) |
Revert "Cleanup: quiet const cast warning"
This reverts commit 626fb290eb43eb43b9451c757b1e906f0b5eeb53.
This was an intentional change for FFMPEG v5.0,
removing the cast should be done in a version check instead.
Diffstat (limited to 'source/blender/blenkernel/intern/writeffmpeg.c')
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index 61efade9c93..dee852ca33a 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -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; |