Print removing of nodes in the test code.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Jan 2008 01:54:56 +0000 (01:54 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Jan 2008 01:54:56 +0000 (01:54 +0000)
Originally committed as revision 11534 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/tree.c

index a7bd1b4bccf52be65985586ac14078f3c24c3edd..1a102e4e95cabdd9233edef8f5075dcf3384874f 100644 (file)
@@ -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)