Commit: 2a5df72d9b334c4ce4924bd86d00a4fd262b6da0
Author: Campbell Barton
Date:   Tue Feb 22 10:07:01 2022 +1100
Branches: master
https://developer.blender.org/rB2a5df72d9b334c4ce4924bd86d00a4fd262b6da0

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.

===================================================================

M       source/blender/blenkernel/intern/writeffmpeg.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to