[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43516] trunk/blender/source/blender/ makesrna/intern/rna_scene.c: Fix a minor RNA warning.

Nicholas Bishop nicholasbishop at gmail.com
Thu Jan 19 05:04:06 CET 2012


Revision: 43516
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43516
Author:   nicholasbishop
Date:     2012-01-19 04:04:05 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
Fix a minor RNA warning.

function warning.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_scene.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-01-19 04:00:27 UTC (rev 43515)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-01-19 04:04:05 UTC (rev 43516)
@@ -887,6 +887,7 @@
 #endif
 #endif
 
+#ifdef WITH_FFMPEG
 static void rna_FFmpegSettings_lossless_output_set(PointerRNA *ptr, int value)
 {
 	Scene *scene = (Scene *) ptr->id.data;
@@ -896,10 +897,9 @@
 		rd->ffcodecdata.flags |= FFMPEG_LOSSLESS_OUTPUT;
 	else
 		rd->ffcodecdata.flags &= ~FFMPEG_LOSSLESS_OUTPUT;
-#ifdef WITH_FFMPEG
 	ffmpeg_verify_lossless_format(rd, &rd->im_format);
+}
 #endif
-}
 
 static int rna_RenderSettings_active_layer_index_get(PointerRNA *ptr)
 {



More information about the Bf-blender-cvs mailing list