== FFMPEG ==
[blender.git] / source / blender / blenkernel / intern / scene.c
index 6798c3c47b70bf0e9ed88a91ec0ad566f8281bb7..2898dca767c66406703d4f706d96bd5318885f47 100644 (file)
@@ -67,6 +67,7 @@
 #include "BKE_global.h"
 #include "BKE_group.h"
 #include "BKE_ipo.h"
+#include "BKE_idprop.h"
 #include "BKE_image.h"
 #include "BKE_key.h"
 #include "BKE_library.h"
@@ -149,6 +150,11 @@ void free_scene(Scene *sce)
                MEM_freeN(sce->r.qtcodecdata);
                sce->r.qtcodecdata = NULL;
        }
+       if (sce->r.ffcodecdata.properties) {
+               IDP_FreeProperty(sce->r.ffcodecdata.properties);
+               MEM_freeN(sce->r.ffcodecdata.properties);
+               sce->r.ffcodecdata.properties = NULL;
+       }
        
        BLI_freelistN(&sce->markers);
        BLI_freelistN(&sce->transform_spaces);