Browse Source

Print removing of nodes in the test code.

Originally committed as revision 11534 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer 17 years ago
parent
commit
5d1e3d2210
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libavutil/tree.c

+ 1 - 0
libavutil/tree.c

@@ -173,6 +173,7 @@ int main(void){
         k= av_tree_find(root, (void*)(j+1), cmp, NULL);
         if(k){
             AVTreeNode *node2=NULL;
+            av_log(NULL, AV_LOG_ERROR, "removing %4d\n", j);
             av_tree_insert(&root, (void*)(j+1), cmp, &node2);
             k= av_tree_find(root, (void*)(j+1), cmp, NULL);
             if(k)