Commit: 8eb189925e028a480d13e43d60216b98b73cfa16
Author: Sergey Sharybin
Date:   Mon Mar 14 11:20:48 2022 +0100
Branches: master
https://developer.blender.org/rB8eb189925e028a480d13e43d60216b98b73cfa16

Cleanup: Make more obvious from the name that function is not public

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

M       source/blender/imbuf/intern/moviecache.c

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

diff --git a/source/blender/imbuf/intern/moviecache.c 
b/source/blender/imbuf/intern/moviecache.c
index 8df033ce726..9bafe38de3b 100644
--- a/source/blender/imbuf/intern/moviecache.c
+++ b/source/blender/imbuf/intern/moviecache.c
@@ -160,7 +160,7 @@ static int compare_int(const void *av, const void *bv)
   return *a - *b;
 }
 
-static void IMB_moviecache_destructor(void *p)
+static void moviecache_destructor(void *p)
 {
   MovieCacheItem *item = (MovieCacheItem *)p;
 
@@ -242,7 +242,7 @@ static bool get_item_destroyable(void *item_v)
 
 void IMB_moviecache_init(void)
 {
-  limitor = new_MEM_CacheLimiter(IMB_moviecache_destructor, get_item_size);
+  limitor = new_MEM_CacheLimiter(moviecache_destructor, get_item_size);
 
   MEM_CacheLimiter_ItemPriority_Func_set(limitor, get_item_priority);
   MEM_CacheLimiter_ItemDestroyable_Func_set(limitor, get_item_destroyable);

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

Reply via email to