comparison libass/ass_cache.c @ 23020:1cce8d37847e

Oops, fix compilation broken in r23037.
author eugeni
date Fri, 20 Apr 2007 23:09:06 +0000
parents 4934af4fdd0f
children ab0943242d1a
comparison
equal deleted inserted replaced
23019:4934af4fdd0f 23020:1cce8d37847e
111 void hashmap_done(hashmap_t* map) 111 void hashmap_done(hashmap_t* map)
112 { 112 {
113 int i; 113 int i;
114 // print stats 114 // print stats
115 if (map->count > 0 || map->hit_count + map->miss_count > 0) 115 if (map->count > 0 || map->hit_count + map->miss_count > 0)
116 mp_msg(MSGT_ASS, MSGL_DBG, "cache statistics: \n total accesses: %d\n hits: %d\n misses: %d\n object count: %d\n", 116 mp_msg(MSGT_ASS, MSGL_V, "cache statistics: \n total accesses: %d\n hits: %d\n misses: %d\n object count: %d\n",
117 map->hit_count + map->miss_count, map->hit_count, map->miss_count, map->count); 117 map->hit_count + map->miss_count, map->hit_count, map->miss_count, map->count);
118 118
119 for (i = 0; i < map->nbuckets; ++i) { 119 for (i = 0; i < map->nbuckets; ++i) {
120 hashmap_item_t* item = map->root[i]; 120 hashmap_item_t* item = map->root[i];
121 while (item) { 121 while (item) {